forked from gae-init/gae-init
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.yaml
More file actions
41 lines (37 loc) · 754 Bytes
/
.eslintrc.yaml
File metadata and controls
41 lines (37 loc) · 754 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
env:
browser: true
node: true
plugins:
- prettier
extends:
- prettier
parserOptions:
ecmaVersion: 8
sourceType: module
ecmaFeatures:
jsx: true
rules:
curly: 2
dot-notation: 2
id-length: 2
no-const-assign: 2
no-dupe-class-members: 2
no-else-return: 2
no-inner-declarations: 2
no-lonely-if: 2
# no-magic-numbers: [2, {ignore: [-1, 0, 1]}]
no-shadow: 2
no-unneeded-ternary: 2
no-unused-expressions: 2
no-unused-vars: [2, {args: none}]
no-useless-return: 2
no-var: 2
one-var: [2, never]
prefer-arrow-callback: 2
prefer-const: 2
prefer-promise-reject-errors: 2
prettier/prettier: 2
sort-imports: 2
sort-keys: [2, asc, {caseSensitive: true, natural: true}]
sort-vars: 2
strict: [2, global]