forked from voronianski/react-star-rating-component
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
69 lines (64 loc) · 1.6 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
parser: "babel-eslint",
extends: "eslint:recommended",
env: {
"es6": true,
"node": true,
"browser": true
},
plugins: [
"react",
"import"
],
settings: {
"import/resolver": "node"
},
rules: {
"strict": 0,
"quotes": [2, "single"],
"indent": [2, 2, {SwitchCase: 1}],
"semi": [2, "always"],
"no-underscore-dangle": 0,
"no-unused-vars": 1,
"no-unused-expressions": 0,
"react/jsx-no-undef": 2,
"react/jsx-boolean-value": 0,
"react/jsx-sort-props": 0,
"react/jsx-sort-prop-types": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-did-mount-set-state": 0,
"react/no-did-update-set-state": 1,
"react/no-multi-comp": 0,
"react/no-unknown-property": 1,
"react/prop-types": 0,
"react/react-in-jsx-scope": 1,
"react/self-closing-comp": 1,
"react/jsx-wrap-multilines": 1,
"import/imports-first": 0,
"new-cap": 0,
"no-extra-boolean-cast": 0,
"yoda": 0,
"no-empty": 0,
"no-use-before-define": 0,
"camelcase": 0,
"object-curly-spacing": 0,
"array-bracket-spacing": 0,
"max-len": 0,
"comma-dangle": [2, "never"],
"space-before-function-paren": 0,
"arrow-body-style": 0,
"no-param-reassign": 0,
"consistent-return": 0,
"no-console": 0,
"no-void": 0,
"func-names": 0,
"no-nested-ternary": 0,
"quote-props": [2, "consistent-as-needed", { "keywords": false, "unnecessary": true, "numbers": false }],
"space-infix-ops": 0,
"prefer-const": 0,
"prefer-template": 0,
"spaced-comment": 0,
"prefer-rest-params": 0
}
}