-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
45 lines (45 loc) · 1.04 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
{
"env": {
"commonjs": true,
"es2021": true
},
"settings": {
"import/extensions": [".js", ".ts", ".d.ts"],
"import/parsers": {
"@typescript-eslint/parser": [".ts"]
},
"import/resolver": {
"typescript": {
"alwaysTryTypes": true
}
},
"typescript": {
"project": "src/"
}
},
"extends": ["airbnb-typescript/base"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"project": ["./src/tsconfig.json", "./tsconfig.json"],
"tsconfigRootDir": "./"
},
"plugins": ["@typescript-eslint", "import"],
"rules": {
"object-curly-newline": [
"error",
{
"minProperties": 6,
"multiline": true,
"consistent": true
}
],
"function-paren-newline": ["error", "multiline"],
"import/extensions": ["error", "never"],
"no-restricted-syntax": "off",
"no-underscore-dangle": "off",
"class-methods-use-this": "off",
"import/prefer-default-export": "off",
"no-console": "off"
}
}