-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.yml
68 lines (66 loc) · 1.21 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
env:
browser: true
es6: true
globals:
d3: false
CGView: false
extends: 'eslint:recommended'
parserOptions:
ecmaVersion: 2015
rules:
no-console: warn
# valid-jsdoc: warn
indent:
- error
- 2
linebreak-style:
- error
- unix
quotes:
- error
- single
semi:
- error
- always
prefer-const: error
prefer-rest-params: error
prefer-spread: error
no-var: error
prefer-numeric-literals: error
prefer-template: error
template-curly-spacing: error
dot-notation: error
no-multi-assign: error
eqeqeq: error
no-nested-ternary: error
no-unneeded-ternary: error
no-mixed-operators: error
nonblock-statement-body-position: error
brace-style:
- warn
- 1tbs
- allowSingleLine: true
implicit-arrow-linebreak:
- error
- beside
spaced-comment:
- warn
- always
- exceptions:
- '/'
space-before-blocks: error
keyword-spacing: error
space-infix-ops: error
eol-last: warn
no-trailing-spaces: warn
no-whitespace-before-property: error
padded-blocks:
- warn
- blocks: never
classes: always
comma-spacing: warn
comma-style: warn
comma-dangle: warn
key-spacing: warn
camelcase: error
new-cap: error