-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc
80 lines (80 loc) · 2.42 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
70
71
72
73
74
75
76
77
78
79
80
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"react/jsx-indent": "off",
"linebreak-style": "off",
"react/jsx-filename-extension": "off",
"brace-style": "off",
"semi": "off",
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-continue": "off",
"no-fallthrough": "off",
"no-unreachable": "warn",
"prefer-destructuring": "off",
"no-nested-ternary": "off",
"new-cap": "off",
"no-unused-vars": [
"error",
{
"args": "none",
"argsIgnorePattern": "^_",
"varsIgnorePattern": "[iI]gnored"
}
],
"constructor-super": "warn",
"valid-typeof": "warn",
"quotes": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"react/jsx-closing-bracket-location": "off",
"react/jsx-closing-tag-location": "off",
"arrow-body-style": "off",
"prefer-template": "off",
"no-param-reassign": "off",
"no-lonely-if": "off",
"react/forbid-prop-types": "off",
"no-console": "off",
"spaced-comment": "off",
"react/destructuring-assignment": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/label-has-for": "off",
"react/no-access-state-in-setstate": "off",
"react/jsx-one-expression-per-line": "off",
"indent": "off",
"react/jsx-indent-props": "off",
"jsx-a11y/anchor-is-valid": "off",
"no-else-return": "off",
"react/prop-types": "off",
"import/no-cycle": "off",
"react/jsx-fragments": "off",
"arrow-parens": "off",
"max-classes-per-file": "off",
"prefer-object-spread": "off",
"no-mixed-operators": "off",
"no-async-promise-executor": "off",
"no-underscore-dangle": "off",
"no-multi-spaces": "off",
"no-trailing-spaces": "off",
"class-methods-use-this": "off",
"react/no-danger": "off"
},
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": [
"react",
"import"
]
}