-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
38 lines (38 loc) · 1 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
{
"extends": "airbnb",
"parserOptions": {
"ecmaVersion": 7
},
"parser": "babel-eslint",
"env": {
"browser": true,
"webextensions": true,
"mocha":true,
"jest":true
},
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"no-restricted-syntax": [
2,
"DebuggerStatement",
"LabeledStatement",
"WithStatement"
],
"no-console": 0,
"no-unused-vars": 1,
"no-underscore-dangle": 0,
"no-empty-function": 1,
"comma-dangle": 0,
"linebreak-style": "off",
"import/no-extraneous-dependencies": 1,
"import/prefer-default-export": 0,
"import/no-unresolved": 1,
"no-param-reassign": 0, // [].reduce are easier with this turned off,
"jsx-a11y/label-has-for": 0, // allow implicit label for input implementation
"react/jsx-closing-bracket-location": 0,
"react/forbid-prop-types": 0,
"react/require-default-props": 1,
"jsx-a11y/no-static-element-interactions": 0,
"no-shadow": 0
}
}