-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
76 lines (70 loc) · 1.83 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
70
71
72
73
74
75
76
{
"extends": "eslint:recommended",
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"impliedStrict": true,
"globalReturn": false,
"jsx": true
}
},
"env": {
"node": true,
"browser": true,
"jasmine": true,
"es6": true
},
"plugins": [
"react"
],
"rules": {
"camelcase": [2, {"properties": "always"}],
"consistent-return": 0,
"curly": [2, "all"],
"eqeqeq": [2, "allow-null"],
"indent": [2, "tab"],
"guard-for-in": 2,
"new-cap": 0,
"no-bitwise": 2,
"no-caller": 2,
"no-console": 2,
"no-extend-native": 2,
"no-multiple-empty-lines": [1, {"max": 3, "maxBOF": 0, "maxEOF": 1}],
"no-new": 2,
"no-shadow": [1, {"builtinGlobals": false, "hoist": "never"}],
"no-throw-literal": 2,
"no-underscore-dangle": 1,
"no-use-before-define": [2, "nofunc"],
"no-var": 2,
"quotes": [1, "single"],
"radix": 2,
"semi": 2,
"space-before-blocks": [1, "always"],
"space-before-function-paren": [1, {"anonymous": "always", "named": "always"}],
"space-infix-ops": [2, {"int32Hint": true}],
"space-unary-ops": [1, { "words": true, "nonwords": false }],
"strict": [2, "never"],
"wrap-iife": [2, "outside"],
"valid-jsdoc": 1,
"jsx-quotes": [1, "prefer-double"],
"react/display-name": [1, { "ignoreTranspilerName": false }],
"react/jsx-boolean-value": 1,
"react/jsx-no-undef": 1,
"react/jsx-sort-props": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-deprecated": [1, {"react": "0.14.7"}],
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-multi-comp": 0,
"react/no-unknown-property": 1,
"react/no-string-refs": 1,
"react/prop-types": 1,
"react/react-in-jsx-scope": 2,
"react/self-closing-comp": 2,
"react/wrap-multilines": 2
}
}