Skip to content

Commit 77c5d73

Browse files
committed
TravisCI should help to discover eslint warnings.
1 parent 5e4ff2f commit 77c5d73

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

.eslintrc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@
1111
"react"
1212
],
1313
"rules": {
14-
"comma-spacing": 1,
14+
"comma-spacing": 2,
1515
"key-spacing": 0,
1616
"no-underscore-dangle": 0,
17-
"no-unused-vars": [1, { "vars": "all", "args": "none" }],
17+
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
1818
"no-var": 2,
19-
"object-shorthand": 1,
20-
"quotes": [1, "single", "avoid-escape"],
19+
"object-shorthand": 2,
20+
"quotes": [2, "single", "avoid-escape"],
2121
"react/display-name": 0,
22-
"react/jsx-no-undef": 1,
23-
"react/jsx-uses-react": 1,
24-
"react/no-did-mount-set-state": 1,
25-
"react/no-did-update-set-state": 1,
26-
"react/no-multi-comp": 1,
27-
"react/prop-types": [1, { ignore: [children, className] }],
28-
"react/react-in-jsx-scope": 1,
29-
"react/self-closing-comp": 1,
30-
"react/wrap-multilines": 1,
31-
"react/jsx-uses-vars": 1,
22+
"react/jsx-no-undef": 2,
23+
"react/jsx-uses-react": 2,
24+
"react/no-did-mount-set-state": 2,
25+
"react/no-did-update-set-state": 2,
26+
"react/no-multi-comp": 2,
27+
"react/prop-types": [2, { ignore: [children, className] }],
28+
"react/react-in-jsx-scope": 2,
29+
"react/self-closing-comp": 2,
30+
"react/wrap-multilines": 2,
31+
"react/jsx-uses-vars": 2,
3232
"strict": 0
3333
}
3434
}

0 commit comments

Comments
 (0)