-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
47 lines (47 loc) · 1.08 KB
/
.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
39
40
41
42
43
44
45
46
47
{
"parserOptions": {
"parser": "@typescript-eslint/parser",
"sourceType": "module",
"ecmaVersion": 2022
},
"env": {
"node": true,
"es6": true
},
"plugins": ["@typescript-eslint"],
"extends": ["airbnb/base", "plugin:@typescript-eslint/recommended", "prettier"],
"rules": {
"linebreak-style": 0,
"arrow-parens": 0,
"max-len": 0,
"no-param-reassign": 0,
"prefer-destructuring": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/explicit-function-return-type": 2
},
"overrides": [
{
"files": ["test/specs/*.test.ts"],
"rules": {
"import/extensions": 0,
"import/no-unresolved": 0,
"no-undef": 0
}
}
],
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".js"]
},
"import/resolver": {
"node": {
"paths": ["lib"],
"extensions": [".js", ".ts"]
}
}
}
}