-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
88 lines (88 loc) · 2.04 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
81
82
83
84
85
86
87
88
env:
es2022: true
node: true
jest: true
extends:
- eslint:recommended
- prettier
parserOptions:
ecmaVersion: latest
sourceType: module
rules:
# disabled
no-unused-vars: off
multiline-comment-style: off
no-continue: off
#enabled
array-callback-return: error
arrow-body-style:
- error
- as-needed
block-scoped-var: error
camelcase: error
class-methods-use-this: error
consistent-return: error
default-param-last: error
dot-notation: error
eqeqeq:
- error
- always
- 'null': ignore
func-style:
- error
- expression
guard-for-in: error
logical-assignment-operators: error
new-cap: error
no-array-constructor: error
no-constant-binary-expression: error
no-duplicate-imports: error
no-else-return: error
no-empty-function: error
no-inline-comments: error
no-lone-blocks: error
no-lonely-if: error
no-loop-func: error
no-multi-assign: error
no-multi-str: error
no-new: error
no-new-func: error
no-new-native-nonconstructor: error
no-new-wrappers: error
no-param-reassign: error
no-return-assign: error
no-self-compare: error
no-shadow: error
no-shadow-restricted-names: error
no-template-curly-in-string: error
no-undef-init: error
no-underscore-dangle: error
no-unmodified-loop-condition: error
no-unneeded-ternary: error
no-unreachable-loop: error
no-unused-expressions: error
no-unused-private-class-members: error
no-use-before-define: error
no-useless-computed-key: error
no-useless-concat: error
no-useless-constructor: error
no-useless-rename: error
no-useless-return: error
no-var: error
no-warning-comments: error
object-shorthand: error
operator-assignment: error
prefer-arrow-callback: error
prefer-const: error
prefer-exponentiation-operator: error
prefer-numeric-literals: error
prefer-object-has-own: error
prefer-object-spread: error
prefer-regex-literals: error
prefer-rest-params: error
prefer-spread: error
prefer-template: error
radix: error
require-await: error
use-isnan: error
yoda: error