-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
52 lines (51 loc) · 1.39 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
{
"root": true,
"parser": "babel-eslint",
"extends": "airbnb",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
},
"rules": {
"no-console": 0,
"no-debugger": 0,
"indent": 0,
"eqeqeq": 0,
"consistent-return": 0,
"comma-dangle": [2, "never"],
"semi": [2, "always"],
"max-len": 0,
"object-curly-spacing": 0,
"react/jsx-no-bind": [1],
"array-bracket-spacing": 0,
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"react/display-name": 1,
"react/jsx-indent": 0,
"react/prop-types": [0],
"react/jsx-indent-props": 0,
"react/jsx-boolean-value": 1,
"react/jsx-space-before-closing": 0,
"react/jsx-first-prop-new-line": 0,
"react/jsx-closing-bracket-location": 0,
"react/no-did-mount-set-state": 0,
"prefer-template": 0,
"no-global-assign": [0],
"no-unsafe-negation": 0,
"no-mixed-operators":[0],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"no-restricted-syntax": 0
},
"plugins": [
"react"
]
}