-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
52 lines (52 loc) · 1.08 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
{
"parser": "babel-eslint",
"extends": [
"airbnb",
"plugin:ava/recommended"
],
"env": {
"browser": true,
"es6": true,
"node": true,
"mocha": true
},
"globals": {
"__DEV__": true
},
"ecmaFeatures": {
"defaultParams": true,
"jsx": true,
"modules": true,
"es6": true
},
"rules": {
"no-multi-spaces": [2, {
"exceptions": {
"VariableDeclarator": true,
"ImportDeclaration": true
}
}],
"semi": [2, "never"],
"indent": [2, "tab", {
"SwitchCase": 1
}],
"comma-dangle": [2, "never"],
"new-cap": [2, {
"properties": false
}],
"import/no-extraneous-dependencies": [0],
"import/no-unresolved": [0],
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"react/jsx-indent": [0],
"react/jsx-indent-props": [0],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/forbid-prop-types": [0],
"react/require-default-props": [0],
"no-tabs": [0],
"import/extensions": [0]
},
"plugins": [
"react",
"ava"
]
}