-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
45 lines (45 loc) · 1.25 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": {
"node": true
},
"extends": ["standard-with-typescript", "plugin:prettier/recommended"],
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": ["tsconfig.json"]
},
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"consistent-return": "off",
"camelcase": "off",
"import/prefer-default-export": "off",
"@typescript-eslint/no-useless-constructor": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-namespace": "off",
"prettier/prettier": "error",
"class-methods-use-this": "off",
"import/no-duplicates": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "interface",
"format": ["PascalCase"],
"custom": {
"regex": "^[A-Z]",
"match": true
}
}
],
"import/extensions": "off"
},
"settings": {
"import/resolver": {
"node": { "extensions": [".js", ".jsx", ".ts", ".tsx"] },
"typescript": { "extensions": [".js", ".jsx", ".ts", ".tsx"] }
}
}
}