-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yaml
74 lines (74 loc) · 1.95 KB
/
.eslintrc.yaml
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
extends:
- "eslint:recommended"
env:
browser: true
es6: true
globals:
chrome: false
exports: true
rules:
no-console: "warn"
no-extra-parens:
- "error"
- "all"
- conditionalAssign: false
nestedBinaryExpressions: false
block-scoped-var: "error"
curly: ["error", "multi"]
default-case: "error"
eqeqeq: ["error", "always", {null: "ignore"}]
no-caller: "error"
no-eval: "error"
no-extra-label: "error"
no-floating-decimal: "error"
no-multi-spaces: "error"
no-self-compare: "error"
no-unmodified-loop-condition: "error"
no-unused-expressions: "error"
no-useless-call: "error"
no-useless-concat: "error"
no-useless-return: "error"
yoda: "error"
strict: ["error", "global"]
no-label-var: "error"
no-use-before-define: ["error", "nofunc"]
array-bracket-spacing: "error"
block-spacing: "error"
brace-style: ["error", "1tbs", {allowSingleLine: true}]
camelcase: "error"
comma-dangle: "error"
comma-style: "error"
computed-property-spacing: "error"
eol-last: "error"
func-call-spacing: "error"
indent:
- "error"
- 2
- VariableDeclarator: 2
outerIIFEBody: 0
flatTernaryExpressions: true
key-spacing: "error"
keyword-spacing: "error"
linebreak-style: "error"
no-multiple-empty-lines: "warn"
no-tabs: "error"
no-trailing-spaces: "error"
object-curly-newline: "error"
object-curly-spacing: "error"
operator-linebreak: ["error", "after"]
quotes: ["error", "single", {"avoidEscape": true}]
semi: "error"
semi-spacing: ["error", {before: false, after: true}]
semi-style: "error"
space-before-blocks: "error"
space-before-function-paren: ["error", "never"]
space-in-parens: "error"
switch-colon-spacing: "error"
unicode-bom: "error"
arrow-body-style: ["error", "as-needed"]
arrow-parens: ["error", "as-needed"]
arrow-spacing: "error"
no-useless-computed-key: "error"
prefer-arrow-callback: "error"
prefer-spread: "error"
rest-spread-spacing: "error"