-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
42 lines (41 loc) · 974 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
32
33
34
35
36
37
38
39
40
41
42
{
env: { es6: true },
parser: "babel-eslint",
plugins: ["react"],
extends: [ "standard", "standard-react" ],
globals: {
$: false,
jest: false,
describe: false,
pit: false,
it: false,
expect: false,
beforeEach: false,
jasmine: false,
document: false,
__DEBUG__: false,
},
rules: {
"object-curly-spacing": ["error", "always"],
"comma-dangle": 0,
"no-throw-literal": 1,
"strict": [2, "never"],
"semi": [2, "never"],
"quotes": [2, "single"],
"no-var": 1,
"brace-style": [2, "stroustrup"],
"eol-last": 1,
"no-undef": "error",
"no-new-require": 1,
"no-sync": 1,
"no-mixed-requires": [1, false],
"react/wrap-multilines": 2,
"no-unsafe-finally": 0,
"no-useless-computed-key": 0,
"react/jsx-uses-react": 1,
"react/jsx-no-undef": 2,
"react/jsx-sort-props": 0,
"react/jsx-sort-prop-types": 0,
"react/jsx-curly-spacing": ["error", "always"]
}
}