This repository was archived by the owner on Aug 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
80 lines (80 loc) · 2.2 KB
/
.eslintrc
File metadata and controls
80 lines (80 loc) · 2.2 KB
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
77
78
79
80
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"defaultParams": true,
"forOf": true,
"generators": true,
"objectLiteralComputedProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"regexUFlag": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"modules": true,
"jsx": true
},
"rules": {
"no-var": 2,
"no-console": 1,
"consistent-return": 0,
"guard-for-in": 2,
"no-eq-null": 2,
"no-native-reassign": [2, {"exceptions": ["Promise"]}],
"no-self-compare": 2,
"no-throw-literal": 2,
"no-unused-expressions": 0,
"wrap-iife": [2, "outside"],
"strict": 0,
"no-shadow": 0,
"no-unused-vars": [2, {"args": "none"}],
"no-use-before-define": [2, "nofunc"],
"no-mixed-requires": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"comma-style": [2, "last"],
"func-style": [2, "declaration"],
"key-spacing": 2,
"no-underscore-dangle": 0,
"quotes": [2, "single"],
"space-before-blocks": [2, "always"],
"object-curly-spacing": [2, "always"],
"array-bracket-spacing": [2, "never"],
"computed-property-spacing": [2, "never"],
"space-in-parens": [2, "never"],
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"spaced-comment": [2, "always"],
"new-cap": 0,
"eol-last": 2,
"func-names": 0,
"space-before-function-parenthesis": 0,
"camelcase": 0,
"brace-style": 0,
"no-extend-native": 2,
"linebreak-style": 2,
"constructor-super": 2,
"prefer-const": 2,
"object-shorthand": 0,
"dot-location": [2, "property"],
"no-unneeded-ternary": 2,
"quote-props": [2, "as-needed"],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/prop-types": 0,
"react/sort-prop-types": 2,
"react/jsx-no-duplicate-props": 2,
"react/jsx-no-bind": 0,
"react/jsx-closing-bracket-location": [2, "tag-aligned"],
"react/prefer-stateless-function": 2,
"react/forbid-prop-types": 2
},
"plugins": [
"react"
]
}