-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.eslintrc.yml
104 lines (102 loc) · 1.84 KB
/
.eslintrc.yml
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
env:
browser: true
commonjs: true
extends: 'eslint:recommended'
rules:
indent:
- error
- 4
linebreak-style:
- error
- unix
quotes:
- off
semi:
- error
- always
max-len:
- warn
- code: 120
one-var:
- warn
- initialized: never
uninitialized: always
eqeqeq:
- error
- smart
dot-location:
- error
- property
wrap-iife:
- error
- inside
block-spacing:
- error
- always
camelcase:
- error
- properties: never
func-style:
- warn
- declaration
padded-blocks:
- error
- never
quote-props:
- warn
- consistent-as-needed
space-before-function-paren:
- warn
- never
brace-style:
- error
- 1tbs
array-callback-return: error
comma-spacing: error
comma-style: error
computed-property-spacing: error
curly: error
func-call-spacing: error
key-spacing: error
keyword-spacing: error
max-statements-per-line: error
radix: error
semi-spacing: error
space-in-parens: error
space-infix-ops: error
strict: error
yoda: error
no-unmodified-loop-condition: error
no-unsafe-negation: error
no-alert: error
no-eval: error
no-implied-eval: error
no-floating-decimal: warn
no-global-assign: error
no-implicit-globals: error
no-lone-blocks: error
no-lonely-if: error
no-loop-func: error
no-mixed-operators: error
no-new-func: error
no-new-object: error
no-return-assign: error
no-octal-escape: warn
no-new-wrappers: error
no-script-url: error
no-self-compare: error
no-sequences: error
no-tabs: error
no-throw-literal: error
no-trailing-spaces: error
no-unneeded-ternary: error
no-void: error
no-whitespace-before-property: error
no-with: error
no-shadow:
- warn
- allow: [data]
no-use-before-define:
- error
- functions: false
classes: false