-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
41 lines (41 loc) · 1.45 KB
/
.eslintrc
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
{
"extends": [
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:import/typescript",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"settings": {
"import/resolver": {
"typescript": {
"alwaysTryTypes": true // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
// Choose from one of the "project" configs below or omit to use <root>/tsconfig.json by default
}
}
},
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"ignoreRestSiblings": true
}
],
"import/prefer-default-export": "off",
"import/extensions": "off",
"class-methods-use-this": "off",
"max-classes-per-file": "off",
"@typescript-eslint/lines-between-class-members": "off",
"import/order": "off",
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/no-misused-promises": "off"
},
"ignorePatterns": "src/models/generated/*"
}