-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.eslintrc.json
99 lines (99 loc) · 2.75 KB
/
.eslintrc.json
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"rules": {
"eqeqeq": [2,"smart"],
"no-else-return": 2,
"no-eq-null": 2,
"no-floating-decimal": 2,
"no-labels": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-redeclare": 2,
"no-return-assign": [2,"except-parens"],
"no-script-url": 2,
"no-self-compare": 2,
"no-with": 2,
"yoda": [2,"never",{"exceptRange":true,"onlyEquality":true}],
"no-new-require": 2,
"comma-dangle": [2,"never"],
"no-cond-assign": [2,"always"],
"no-console": 2,
"no-constant-condition": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty-character-class": 2,
"no-empty": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": [2,"all"],
"no-extra-semi": 2,
"no-func-assign": 2,
"no-invalid-regexp": 2,
"no-negated-in-lhs": 2,
"no-obj-calls": 2,
"no-regex-spaces": 2,
"no-sparse-arrays": 2,
"no-unreachable": 2,
"use-isnan": 2,
"valid-typeof": 2,
"no-unexpected-multiline": 2,
"block-scoped-var": 2,
"curly": [2],
"default-case": 2,
"no-delete-var": 2,
"no-label-var": 2,
"no-undef-init": 2,
"no-undefined": 2,
"no-use-before-define": [2,"nofunc"],
"array-bracket-spacing": [2,"never",{"singleValue":true,"objectsInArrays":true,"arraysInArrays":true}],
"brace-style": [2,"1tbs",{"allowSingleLine":true}],
"camelcase": [2,{"properties":"always"}],
"comma-spacing": [2,{"after":true}],
"eol-last": 2,
"func-names": 2,
"indent": [2,2],
"newline-after-var": [2,"always"],
"no-array-constructor": 2,
"no-continue": 2,
"no-inline-comments": 2,
"no-lonely-if": 2,
"no-mixed-spaces-and-tabs": [2,"smart-tabs"],
"no-multiple-empty-lines": [2,{"max":3}],
"no-new-object": 2,
"no-spaced-func": 2,
"no-trailing-spaces": [2,{"skipBlankLines":true}],
"no-underscore-dangle": 2,
"no-unneeded-ternary": 2,
"operator-assignment": [2,"always"],
"operator-linebreak": [2,"before"],
"padded-blocks": [2,"never"],
"quotes": [2,"single","avoid-escape"],
"semi": [2,"always"],
"sort-vars": [2,{"ignoreCase":true}],
"space-before-blocks": [2,"always"],
"space-in-parens": [2,"never",{}],
"space-unary-ops": [2,{"words":true}],
"spaced-comment": [2,"always",{}],
"wrap-regex": 2,
"arrow-parens": [2,"always"],
"arrow-spacing": [2,{"before":true,"after":true}],
"constructor-super": 2,
"no-class-assign": 2,
"no-const-assign": 2,
"no-this-before-super": 2,
"no-var": 2,
"prefer-const": 2,
"prefer-spread": 2
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"parser": "babel-eslint",
"plugins": [
"react"
]
}