-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yml
80 lines (76 loc) · 1.45 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
70
71
72
73
74
75
76
77
78
79
80
---
parserOptions:
ecmaVersion: 2018
sourceType: module
env:
browser: true
node: true
commonjs: true
es6: true
jest: true
extends:
- eslint:recommended
rules:
getter-return: error
no-await-in-loop: warn
no-prototype-builtins: error
no-template-curly-in-string: warn
valid-jsdoc: error
array-callback-return: error
curly: error
dot-location:
- warn
- property
dot-notation: error
eqeqeq:
- error
- smart
guard-for-in: error
no-alert: error
no-else-return: warn
no-lone-blocks: error
no-loop-func: error
prefer-promise-reject-errors: error
no-return-await: warn
yoda:
- error
- never
- exceptRange: true
array-bracket-spacing: error
block-spacing: error
brace-style: error
comma-dangle: error
comma-spacing: error
eol-last: error
linebreak-style: error
semi:
- error
- never
indent:
- error
- 2
keyword-spacing: error
arrow-spacing: error
quotes:
- error
- single
- allowTemplateLiterals: false
avoidEscape: true
prefer-const: error
capitalized-comments:
- error
- always
- {ignorePattern: webpackChunkName}
line-comment-position: error
no-throw-literal: error
no-return-assign: error
no-multi-str: error
no-multi-spaces: error
no-trailing-spaces: error
multiline-comment-style: error
space-infix-ops: error
space-unary-ops: error
spaced-comment: error
no-floating-decimal: error
object-curly-spacing: error
no-console: off