-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.eslintrc.yml
More file actions
48 lines (48 loc) · 776 Bytes
/
Copy path.eslintrc.yml
File metadata and controls
48 lines (48 loc) · 776 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
env:
es6: true
node: true
extends: 'eslint:recommended'
parserOptions:
sourceType: module
rules:
quotes:
- warn
- single
semi:
- warn
- always
brace-style:
- warn
- 1tbs
- allowSingleLine: true
camelcase: 2
func-call-spacing:
- warn
- never
func-names: 0
block-spacing:
- warn
- always
semi-spacing:
- warn
- before: false
after: true
keyword-spacing: ["warn", { "overrides": {
"if": { "after": false },
"for": { "after": false },
"while": { "after": false }}}]
no-unused-vars:
- error
- vars: all
args: all
no-undef: 0
no-console: 0
eqeqeq:
- error
- always
radix:
- error
- always
default-case: 2
callback-return: 2
no-path-concat: 2