-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.yml
49 lines (49 loc) · 854 Bytes
/
.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
---
root: true
parserOptions:
ecmaVersion: 2015
sourceType: "module"
extends: "eslint:recommended"
env:
node: true
es6: true
rules:
curly: 2
dot-notation: 2
func-style:
- 2
- "declaration"
-
allowArrowFunctions: true
indent: 0
key-spacing:
- 2
-
beforeColon: false
afterColon: true
linebreak-style:
- 2
- "unix"
max-len:
- 2
- 80
- 4
max-statements:
- 1
- 20
no-implicit-globals: 2
no-multi-spaces: 2
no-new-wrappers: 2
no-trailing-spaces: 2
no-unused-expressions:
- 2
-
allowShortCircuit: true
allowTernary: true
no-var: 2
no-whitespace-before-property: 2
one-var-declaration-per-line: 2
quotes:
- 2
- "single"
semi: 2