forked from G-Node/GCA-Web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
110 lines (109 loc) · 3.96 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"root": true,
"env": {
"browser": true,
"es6": true
},
"globals": {
"$": true
},
"extends": ["eslint:recommended"],
"plugins": [],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"linebreak-style": ["error", "unix"],
"array-bracket-spacing": ["error", "never"],
"arrow-body-style": ["error", "always"],
"arrow-parens": ["error"],
"arrow-spacing": ["error"],
"block-spacing": ["error"],
"brace-style": ["error", "1tbs", {"allowSingleLine": true}],
"comma-spacing": ["error"],
"comma-dangle": ["error"],
"comma-style": ["error"],
"eol-last": ["error"],
"eqeqeq": ["error", "always"],
"func-call-spacing": ["error", "never"],
"key-spacing": ["error"],
"keyword-spacing": ["error", {"before": true}],
"no-duplicate-imports": ["error"],
"no-unused-vars": ["error", { "varsIgnorePattern": "^_", "args": "none", "vars": "local" }],
"no-cond-assign": ["error"],
"no-console": ["error", { "allow": ["warn", "error"] }],
"no-class-assign": ["error"],
"no-array-constructor": ["error"],
"no-eval": ["error"],
"no-extend-native": ["error"],
"no-extra-bind": ["error"],
"no-extra-boolean-cast": ["error"],
"no-extra-parens": ["error"],
"no-fallthrough": ["error"],
"no-floating-decimal": ["error"],
"no-func-assign": ["error"],
"no-implied-eval": ["error"],
"no-inline-comments": ["error"],
"no-invalid-regexp": ["error"],
"no-irregular-whitespace": ["error"],
"no-iterator": ["error"],
"no-label-var": ["error"],
"no-lone-blocks": ["error"],
"no-loop-func": ["error"],
"no-multiple-empty-lines": ["error", {"max": 1, "maxEOF": 1}],
"no-new": ["error"],
"no-new-object": ["error"],
"no-new-require": ["error"],
"no-new-symbol": ["error"],
"no-new-wrappers": ["error"],
"no-obj-calls": ["error"],
"no-octal": ["error"],
"no-octal-escape": ["error"],
"no-path-concat": ["error"],
"no-proto": ["error"],
"no-redeclare": ["error"],
"no-regex-spaces": ["error"],
"no-return-assign": ["error"],
"no-self-compare": ["error"],
"no-sequences": ["error"],
"no-shadow": ["error"],
"no-shadow-restricted-names": ["error"],
"no-sparse-arrays": ["error"],
"no-tabs": ["error"],
"no-template-curly-in-string": ["error"],
"no-this-before-super": ["error"],
"no-throw-literal": ["error"],
"no-trailing-spaces": ["error"],
"no-undef-init": ["error"],
"no-underscore-dangle": ["error"],
"no-unneeded-ternary": ["error"],
"no-unreachable": ["error"],
"no-unsafe-finally": ["error"],
"no-unsafe-negation": ["error"],
"no-useless-call": ["error"],
"no-useless-computed-key": ["error"],
"no-useless-concat": ["error"],
"no-useless-constructor": ["error"],
"no-useless-escape": ["error"],
"no-useless-rename": ["error"],
"no-whitespace-before-property": ["error"],
"no-with": ["error"],
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }],
"padded-blocks": ["error", {"blocks": "never"}],
"prefer-const": ["error"],
"quotes": ["error", "double"],
"rest-spread-spacing": ["error"],
"semi": ["error", "always"],
"semi-spacing": ["error"],
"space-before-blocks": ["error"],
"space-in-parens": ["error"],
"space-infix-ops": ["error"],
"space-unary-ops": ["error"],
"spaced-comment": ["error"],
"template-curly-spacing": ["error"],
"use-isnan": ["error"],
"valid-typeof": ["error"],
"wrap-iife": ["error"],
"yield-star-spacing": ["error"]
}
}