-
Notifications
You must be signed in to change notification settings - Fork 36
/
.eslintrc
35 lines (35 loc) · 812 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
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:import/recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true,
"node": true
},
"rules": {
"valid-jsdoc": 2,
"react/prop-types": 0,
"react/jsx-uses-react": 1,
"react/jsx-no-undef": 2,
"import/no-unresolved": ["error", { "ignore": ["^react$"] }],
"comma-dangle": ["error", "always-multiline"],
"semi": ["error", "never"],
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"no-unused-vars": ["error", { "ignoreRestSiblings": true }]
},
"plugins": [
"import",
"react"
]
}