-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
40 lines (39 loc) · 1.01 KB
/
.eslintrc.json
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
{
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": ["react", "jsx-a11y", "import"],
"rules": {
"react/jsx-filename-extension": ["off"],
"react/jsx-one-expression-per-line": 0,
"linebreak-style": ["off"],
"no-undef": ["error"],
"react/sort-comp": ["off"],
"react/prefer-stateless-function": ["off"],
"react/destructuring-assignment": 1,
"semi": ["error", "never"],
"spaced-comment": 0,
"comma-dangle": ["error", "never"],
"react/prop-types": 0,
"no-extra-boolean-cast": 0,
"quote-props": 0,
"object-curly-spacing": ["error", "always"],
"camelcase": 0,
"no-nested-ternary": 0,
"object-curly-newline": 0,
"operator-linebreak": 0,
"no-unused-expressions": 0,
"global-require": 0,
"max-len": 0,
"import/no-cycle": 0,
"no-underscore-dangle": 0,
"no-return-assign": 0,
"import/prefer-default-export": 0,
"no-console": "error"
},
"globals": {
"it": 0,
"expect": 0,
"describe": 0,
"navigator": 0
}
}