-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yml
53 lines (48 loc) · 1.1 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
extends:
- airbnb-base
plugins:
- "@typescript-eslint"
env:
es6: true
node: true
mocha: true
settings:
import/resolver:
node:
extensions:
- .js
- .json
- .ts
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 2020
sourceType: module
ecmaFeature:
impliedStrict: true
rules:
'import/extensions':
- error
- ignorePackages
- ts: 'never'
no-empty-function: off
'@typescript-eslint/no-empty-function': error
no-unused-expressions: off
'@typescript-eslint/no-unused-expressions': error
no-unused-vars: off
'@typescript-eslint/no-unused-vars': error
no-useless-constructor: off
'@typescript-eslint/no-useless-constructor': error
semi: off
'@typescript-eslint/semi': error
arrow-body-style: [error, always]
class-methods-use-this: off
consistent-return: off
no-param-reassign: off
no-plusplus: [error, { allowForLoopAfterthoughts: true }]
no-underscore-dangle: off
prefer-destructuring: off
prefer-rest-params: off
prefer-spread: off
strict: [error, global]
camelcase: off
no-dupe-class-members: off