-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
37 lines (37 loc) · 1.05 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
{
"$schema": "https://json.schemastore.org/eslintrc",
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"overrides": [
{
"files": ["*.ts", "*.mjs"],
"extends": [
"airbnb-base",
"airbnb-typescript/base",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"parser": "@typescript-eslint/parser",
"project": "./tsconfig.json",
"sourceType": "module"
},
"rules": {
"max-len": ["error", { "code": 120 }],
"consistent-return": "off",
"no-underscore-dangle": "off",
"import/no-cycle": "off",
"class-methods-use-this": "off",
"import/prefer-default-export": "off",
"import/no-default-export": "error",
"import/no-extraneous-dependencies": "off",
"import/extensions": "off",
"@typescript-eslint/quotes": ["error", "double"],
"@typescript-eslint/no-explicit-any": "off"
}
}
]
}