-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc
54 lines (54 loc) · 1.57 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
53
54
{
"env": {
"browser": true,
"node": true,
"mocha": true
},
"extends": "eslint-config-airbnb",
"rules": {
"arrow-body-style": 0,
"camelcase": 0,
"class-methods-use-this": 0,
"consistent-return": 0,
"func-style": [2, "declaration", { "allowArrowFunctions": true }],
"import/default": 0,
"import/extensions": 0,
"import/first": 0,
"import/named": 0,
"import/no-duplicates": 1,
"import/no-extraneous-dependencies": 0,
"import/no-named-as-default": 2,
"import/no-unresolved": 2,
"import/prefer-default-export": 0,
"indent": [2, 2, { "SwitchCase": 1 }],
"jsx-a11y/media-has-caption": 0,
"linebreak-style": 0,
"max-len": ["error", 1000],
"new-cap": [0, { "capIsNewExceptions": ["List", "Map", "Set"] }],
"no-alert": 0,
"no-mixed-operators": ["error", { "allowSamePrecedence": true }],
"no-restricted-syntax": 0,
"no-underscore-dangle": 0,
"object-curly-newline": 0,
"prefer-destructuring": ["error", {"object": true, "array": false}],
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/no-danger": 0,
"react/no-multi-comp": 0,
"react/no-string-refs": 0,
"react/prefer-stateless-function": 0,
"react/prop-types": 1,
"react/react-in-jsx-scope": 0,
"semi": ["error", "never"],
"valid-typeof": [2, { "requireStringLiterals": false }]
},
"plugins": [
"react", "import"
],
"settings": {
"import/resolve": {
"moduleDirectory": ["node_modules"]
}
},
"parser": "babel-eslint"
}