forked from ReactTraining/classic-react-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 955 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"array-bracket-spacing": [2, "always"],
"comma-dangle": [2, "never"],
"curly": 0,
"eqeqeq": [2, "smart"],
"func-names": 0,
"jsx-quotes": [2, "prefer-double"],
"max-len": 0,
"no-return-assign": 0,
"no-use-before-define": 0,
"no-unused-vars": 1,
"no-param-reassign": [2, { "props": false }],
"object-curly-spacing": [2, "always"],
"one-var": 0,
"one-var-declaration-per-line": 0,
"quotes": [2, "single", "avoid-escape"],
"react/jsx-no-bind": 0,
"react/jsx-space-before-closing": [2, "never"],
"react/jsx-uses-react": 1,
"react/no-multi-comp": 0,
"react/prefer-es6-class": [2, "never"],
"react/prefer-stateless-function": 0,
"react/prop-types": 0,
"react/sort-comp": 0,
"react/wrap-multilines": 2,
"semi": [2, "never"],
"spaced-comment": 0,
"space-before-blocks": [2, "always"]
}
}