-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
44 lines (44 loc) · 1.24 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
{
"env": {
"browser": true,
"es2021": true
},
"extends": "standard-with-typescript",
"parser": "@typescript-eslint/parser",
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": ["**/tsconfig.json"]
},
"plugins": ["@typescript-eslint"],
"ignorePatterns": [
"**/build/*",
"**/src/types/",
"**/node_modules/*",
"**/public/*",
"**/tsconfig.json",
"**/mongodb.ts"
],
"rules": {
"@typescript-eslint/restrict-template-expressions": "off",
// End of personal rules
"@typescript-eslint/consistent-type-definitions": "warn",
"@typescript-eslint/consistent-type-exports": "warn",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/naming-convention": "warn",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "error",
"no-unused-expressions": "off",
"@typescript-eslint/no-unused-expressions": "warn",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "warn",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": "warn",
"@typescript-eslint/object-curly-spacing": "off",
"no-tabs": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/semi": "off"
// End of personal rules
}
}