-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.eslintrc
More file actions
31 lines (31 loc) · 702 Bytes
/
.eslintrc
File metadata and controls
31 lines (31 loc) · 702 Bytes
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
{
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"env": {
"browser": true,
"node": true
},
"extends": [
"airbnb",
"eslint:recommended",
"plugin:react/recommended"
],
"rules": {
"no-console": 0,
"no-multi-spaces": 1,
"no-multi-str": 2,
"no-shadow": 1,
"no-shadow-restricted-names": 1,
"no-use-before-define": ["error", { "functions": false, "classes": false }],
"array-bracket-spacing": 1,
"eol-last": 1,
"no-trailing-spaces": ["warn", { "skipBlankLines": true }],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/no-extraneous-dependencies": 0
},
"plugins": [
"react"
]
}