-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
38 lines (37 loc) · 903 Bytes
/
.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
{
"plugins": [
"react"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"jest": true,
"es6": true
},
"extends": ["airbnb", "plugin:react/recommended"],
"rules": {
"react/forbid-prop-types": 0,
"react/self-closing-comp": "warn",
"react/prefer-stateless-function": 0,
"react/require-default-props": 0,
"jsx-a11y/href-no-hash": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"react/jsx-filename-extension": 0,
"arrow-body-style": 0,
"padded-blocks": "warn",
"comma-dangle": 0,
"no-unused-vars": 1,
"no-param-reassign":1,
"no-shadow": 0,
"no-trailing-spaces": ["error", { "skipBlankLines": true } ],
"no-console": 0,
"class-methods-use-this": 0,
"operator-assignment": 1,
"one-var": 0
}
}