-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
38 lines (38 loc) · 1001 Bytes
/
.eslintrc.json
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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"rules": {
"comma-dangle": [1, "always-multiline"],
"eol-last": 1,
"func-call-spacing": [1, "never"],
"func-style": [2, "expression"],
"new-cap": 2,
"quotes": [1, "single"],
"semi": 1,
"space-before-blocks": 1,
"space-before-function-paren": [1, {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"@typescript-eslint/semi": 1,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/no-unsafe-member-access": 0,
"@typescript-eslint/prefer-regexp-exec": 0
},
"ignorePatterns": [
"**/*.js"
]
}