-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
37 lines (37 loc) · 992 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"useJSXTextNode": true,
"project": "./tsconfig.json",
"sourceType": "module"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx", ".d.ts"]
}
}
},
"env": {
"node": true,
"browser": true,
"es6": true
},
"rules": {
"@typescript-eslint/camelcase": "error",
"@typescript-eslint/array-type": "error",
"@typescript-eslint/indent": ["error", 2],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/class-name-casing": "error",
"@typescript-eslint/adjacent-overload-signatures": "error",
"linebreak-style": "warn",
"indent": "off",
"function-paren-newline": ["error", "consistent"],
"no-console": ["error", { "allow": [ "warn", "error" ] }]
}
}