-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
31 lines (30 loc) · 973 Bytes
/
.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
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"array-bracket-spacing": [2, "always"],
"jsx-quotes": [1, "prefer-single"],
"jsx-a11y/no-static-element-interactions": 0,
"max-len": ["error", { "code": 100, "ignoreTrailingComments": true }],
"no-use-before-define": [2, "nofunc"],
"no-shadow": 0,
"prefer-const": 1,
"linebreak-style": 0,
"quote-props": [1, "consistent-as-needed"],
"react/no-multi-comp": 0,
"react/prop-types": 0,
"no-plusplus" : 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/no-array-index-key": 0,
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
"no-param-reassign": ["error", { "props": false }],
"no-console": 0,
"no-return-assign": [1, "except-parens"]
},
"env": {
"jasmine": true
},
"plugins": [
"chai-friendly"
]
}