-
Notifications
You must be signed in to change notification settings - Fork 155
/
.eslintrc
38 lines (38 loc) · 942 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
{
"extends": "eslint:recommended",
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"modules": true,
"octalLiterals": true,
"restParams": true,
"spread": true,
"templateStrings": true,
"unicodeCodePointEscape": true,
"jsx": true
},
"env": {
"browser": true,
"node": true,
"commonjs": true
},
"plugins": [
"react"
],
"rules": {
// Rules for React (see list here: https://github.com/yannickcr/eslint-plugin-react)
"react/no-unknown-property": 1,
"react/jsx-no-duplicate-props": [1, { "ignoreCase": true }],
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-deprecated": [1, {"react": "0.14.6"}],
"react/no-direct-mutation-state": 1,
"react/no-is-mounted": 1
}
}