-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.yml
More file actions
49 lines (46 loc) · 879 Bytes
/
.eslintrc.yml
File metadata and controls
49 lines (46 loc) · 879 Bytes
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
---
env:
browser: true
node: true
parserOptions:
ecmaVersion: 8
extends: "eslint:recommended"
rules:
eqeqeq:
- "error"
- "always"
- null: "ignore"
# in this case the console is needed as default behavior
# no-console: "warn"
no-console: "off"
# styles
indent:
- "error"
- 2
semi:
- "error"
semi-spacing:
- "error"
switch-colon-spacing: "error"
spaced-comment: "error"
quotes:
- "error"
- "single"
- allowTemplateLiterals: true
quote-props:
- "error"
- "consistent-as-needed"
brace-style:
- "error"
- "1tbs"
comma-style:
- "error"
- "last"
comma-spacing:
- "error"
- before: false
after: true
func-style:
- "error"
- "declaration"
- allowArrowFunctions: true