-
Notifications
You must be signed in to change notification settings - Fork 20
/
.eslintrc.yml
96 lines (96 loc) · 1.91 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
env:
browser: true
commonjs: true
es6: true
extends:
- 'eslint:recommended'
parserOptions:
ecmaVersion: 8
sourceType: module
ecmaFeatures:
experimentalObjectRestSpread: true
rules:
array-bracket-spacing: error
array-callback-return: error
arrow-body-style: error
arrow-parens: error
arrow-spacing: error
brace-style:
- error
- 1tbs
- allowSingleLine: true
camelcase: error
comma-dangle: error
comma-style: error
dot-notation: error
eol-last: error
eqeqeq: error
func-style: error
generator-star-spacing: error
keyword-spacing: error
indent:
- error
- 2
linebreak-style:
- error
- unix
new-cap: error
newline-per-chained-call:
- error
- ignoreChainWithDepth: 3
no-array-constructor: error
no-case-declarations: error
no-confusing-arrow: error
no-console: 0
no-dupe-class-members: error
no-duplicate-imports: error
no-eval: error
no-iterator: error
no-loop-func: error
no-nested-ternary: error
no-new-func: error
no-new-object: error
no-param-reassign: error
no-restricted-globals: error
no-restricted-properties: error
no-restricted-syntax: error
no-undef: off
no-unexpected-multiline: 0
no-unneeded-ternary: error
no-useless-constructor: error
no-useless-escape: error
no-whitespace-before-property: error
no-var: error
object-curly-spacing:
- error
- always
- objectsInObjects: false
object-shorthand: error
one-var:
- error
- never
prefer-arrow-callback: error
prefer-const: error
prefer-rest-params: error
prefer-spread: error
prefer-template: error
quote-props:
- error
- as-needed
quotes:
- error
- single
radix:
- error
- as-needed
semi:
- error
- never
space-before-blocks: error
space-before-function-paren:
- error
- never
space-infix-ops: error
spaced-comment: error
space-in-parens: error
wrap-iife: error