This repository was archived by the owner on Dec 19, 2023. It is now read-only.
forked from react-bootstrap-table/react-bootstrap-table2
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.eslintrc
69 lines (69 loc) · 2.25 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"extends": "airbnb",
"parser": "@babel/eslint-parser",
"env": {
"browser": true,
"jest": true,
"node": true
},
"plugins": [
"react"
],
"rules": {
"semi": "off",
"arrow-parens": "off",
"default-param-last": "off",
"prefer-object-spread": "off",
"class-methods-use-this": "off",
"function-paren-newline": 0,
"function-call-argument-newline": "off",
"operator-linebreak": "off",
"implicit-arrow-linebreak": "off",
"no-else-return": "off",
"object-curly-newline": "off",
"no-multiple-empty-lines": "off",
"no-trailing-spaces": "off",
"no-restricted-globals": "off",
"lines-between-class-members": "off",
"no-undef": "off",
"prefer-destructuring": "off",
"react/destructuring-assignment": 0,
"react/sort-comp": 0,
"react/no-this-in-sfc": 0,
"react/default-props-match-prop-types": 0,
"react/no-unused-prop-types": 0,
"react/no-access-state-in-setstate": 0,
"react/button-has-type": 0,
"react/function-component-definition": 0,
"react/no-unstable-nested-components": 0,
"react/no-unused-class-component-methods": 0,
"react/static-property-placement": 0,
"react/state-in-constructor": 0,
"react/jsx-wrap-multilines": 0,
"react/jsx-closing-tag-location": 0,
"react/jsx-no-bind": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-curly-brace-presence": 0,
"react/jsx-props-no-spreading": 0,
"react/jsx-no-constructed-context-values": 0,
"react/jsx-fragments": 0,
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/control-has-associated-label": 0,
"comma-dangle": ["error", "never"],
"react/jsx-curly-spacing": [2, "always"],
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": 0,
"react/jsx-space-before-closing": 0,
"react/jsx-tag-spacing": ["error", { "beforeSelfClosing": "always" }],
"import/no-relative-packages": 0,
"import/extensions": 0, // skip import extensions
"import/no-unresolved": [0, { "ignore": ["^react-bootstrap-table"] }], // monorepo setup
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0
},
"globals": {
"jest": false
}
}