-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
69 lines (69 loc) · 1.02 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
parser: babel-eslint
parserOptions:
sourceType: module
ecmaVersion: 2019
extends:
- eslint:recommended
env:
es6: true
browser: true
node: true
overrides:
- files: "**/*.svelte"
processor: "svelte3/svelte3"
plugins:
- svelte3
rules:
object-curly-spacing:
- 2
- always
array-bracket-spacing:
- 2
- never
keyword-spacing: 2
no-trailing-spaces: 2
no-multiple-empty-lines:
- 2
- max: 2
maxEOF: 0
eol-last: 2
no-tabs: 2
no-nested-ternary: 2
no-extra-semi: 2
constructor-super: 2
no-var: 2
max-len:
- 1
- code: 85
tabWidth: 2
ignoreComments: true
no-func-assign: 2
consistent-return: 2
curly:
- 2
- all
default-case: 2
eqeqeq:
- 2
- always
no-multi-spaces: 2
array-bracket-newline:
- 2
- consistent
comma-dangle:
- 2
- always-multiline
comma-spacing: 2
no-console: 0
indent:
- error
- 2
linebreak-style:
- error
- unix
quotes:
- error
- single
semi:
- error
- always