forked from BenC14/Dumbledore
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy path.eslintrc
48 lines (48 loc) · 1.2 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
{
"extends": ["airbnb", "plugin:react/recommended"],
"env": {
"node": true,
"browser": true
},
"rules": {
"new-cap": [2, { "capIsNewExceptions": ["List", "Map", "Set", "Router"] }],
"indent": [2, 2, {"SwitchCase": 1}],
"import/default": 0,
"import/no-duplicates": 0,
"import/named": 0,
"import/namespace": 0,
"import/no-unresolved": 0,
"import/no-named-as-default": 2,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"arrow-parens": 0,
"arrow-body-style": 0,
"consistent-return": 0,
"comma-dangle": 0, // not sure why airbnb turned this on. gross!
"func-names": 0,
"global-require": 0,
"max-len": 0,
"no-alert": 0,
"no-console": 0,
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"no-unneeded-ternary": 0,
"no-plusplus": 0,
"prefer-template": 0,
"prefer-arrow-callback": 0,
"class-methods-use-this": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"jsx-a11y/label-has-for": 0
},
"plugins": [
"import", "react"
],
"settings": {
"import/resolve": {
"moduleDirectory": ["node_modules"]
}
},
"globals": {
"Parse": true
}
}