-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.yaml
45 lines (45 loc) · 1.26 KB
/
.eslintrc.yaml
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
---
root: true
parser: "@typescript-eslint/parser"
parserOptions:
project: ["./tsconfig.json"]
ecmaVersion: 2018
ecmaFeatures:
jsx: true
sourceType: module
plugins: ["@typescript-eslint"]
extends:
- "eslint:recommended"
- "plugin:@typescript-eslint/eslint-recommended"
- "plugin:@typescript-eslint/recommended"
- "plugin:@typescript-eslint/recommended-requiring-type-checking"
rules:
"@typescript-eslint/explicit-function-return-type": "off"
"@typescript-eslint/no-non-null-assertion": "off"
"@typescript-eslint/no-explicit-any": "off"
"@typescript-eslint/no-unused-vars":
- error
- argsIgnorePattern: ^_
varsIgnorePattern: ^_
ignoreRestSiblings: true
"@typescript-eslint/no-namespace": "off"
"@typescript-eslint/consistent-type-imports": error
"semi": "off"
"@typescript-eslint/semi": error
"quotes": "off"
"@typescript-eslint/quotes": error
"@typescript-eslint/member-delimiter-style":
- error
-
multiline:
delimiter: comma
requireLast: true
singleline:
delimiter: comma
requireLast: false
multilineDetection: last-member
"no-extra-semi": "off"
"@typescript-eslint/no-extra-semi": error
"@typescript-eslint/unbound-method":
- error
- ignoreStatic: true