-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc
43 lines (43 loc) · 1.21 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2015,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true,
"modules": true
}
},
"plugins": ["react"],
"rules": {
"react/prefer-stateless-function": 0,
"react/jsx-uses-vars": 2,
"react/jsx-uses-react": 2,
"react/react-in-jsx-scope": 2,
"arrow-body-style": 0,
"comma-dangle": 0,
"no-underscore-dangle": 0,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"import/prefer-default-export": 0,
"react/require-default-props": 0,
"no-console": [1, { "allow": ["warn", "error", "log", "info"] }],
"camelcase": [2, { "properties": "never" }],
"no-unused-vars": [1, { "vars": "all", "args": "after-used" }],
"class-methods-use-this": [0, { "exceptMethods": ["foo"] }],
"react/forbid-prop-types": 0,
"react/no-danger": 0,
"react/no-array-index-key": 0,
"react/jsx-no-target-blank": 0,
"jsx-a11y/anchor-has-content": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/href-no-hash": 0,
"import/first": 0
}
}