-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc.yml
52 lines (52 loc) · 1.14 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
env:
node: true
extends:
- eslint:recommended
- plugin:n/recommended
parserOptions:
ecmaVersion: 2022
sourceType: module
rules:
n/no-extraneous-import:
- error
- allowModules:
- restify-errors
no-constant-condition:
- error
- checkLoops: false
no-template-curly-in-string: error
block-scoped-var: error
no-unreachable-loop: error
require-atomic-updates: warn
max-classes-per-file: error
no-alert: error
no-caller: error
eqeqeq: error
no-constructor-return: error
no-eval: error
no-extend-native: error
no-extra-bind: error
no-implicit-coercion: error
no-invalid-this: error
no-multi-spaces: error
no-multi-str: error
no-return-assign: error
no-self-compare: error
no-sequences: error
no-throw-literal: error
no-unmodified-loop-condition: error
no-unused-expressions: error
no-useless-call: error
no-useless-concat: error
no-useless-return: error
no-void: error
no-warning-comments: warn
radix: error
no-shadow: error
no-use-before-define:
- error
- functions: false
arrow-spacing: error
no-confusing-arrow: error
no-duplicate-imports: error
no-var: error