-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 1.18 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"mocha": true
},
"rules": {
"linebreak-style": 0,
"object-curly-spacing": [2, "never"],
"arrow-body-style": 0,
"indent": [2, 4, {
"SwitchCase": 1
}],
"comma-dangle": 0,
"no-trailing-spaces": 0,
"no-unused-vars": [1, { "caughtErrors": "none" }],
"no-use-before-define": [1, { "variables": false, "functions": false, "classes": false }],
"space-before-function-paren": 0,
"func-names": 0,
"new-cap": 0,
"max-len": [2, 180],
"react/prefer-stateless-function": 0,
"react/jsx-indent": [2, 4],
"react/jsx-indent-props": [2, 4],
"react/jsx-filename-extension": 0,
"react/prop-types": 0,
"react/no-multi-comp": 0,
"react/jsx-closing-bracket-location": 0,
"react/no-unused-prop-types": 1,
"no-param-reassign": [2, {"props": false}],
"no-restricted-syntax": [1, "ForInStatement", "LabeledStatement", "WithStatement"],
"class-methods-use-this": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/label-has-for": 1,
"import/prefer-default-export": 1,
"no-underscore-dangle": 0,
"no-debugger": 0
}
}