-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
42 lines (42 loc) · 904 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
38
39
40
41
42
{
"parser": "babel-eslint",
"plugins": [
"react"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"legacyDecorators": true,
"experimentalObjectRestSpread": true
}
},
"globals": {
"React": true,
"ReactDOM": true
},
"env": {
"browser": true,
"amd": true,
"es6": true,
"node": true,
"mocha": true
},
"rules": {
"jsx-a11y/href-no-hash": "off",
"semi": "warn",
"quotes": ["warn", "single"],
"comma-dangle": "warn",
"no-undef": "warn",
"global-strict": "off",
"no-extra-semi": "warn",
"no-underscore-dangle": "off",
"no-console": "warn",
"no-unused-vars": "warn",
"no-trailing-spaces": ["warn", { "skipBlankLines": true }],
"no-unreachable": "warn",
"no-alert": "off",
"react/jsx-uses-react": "warn",
"react/jsx-uses-vars": "warn"
}
}