-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
45 lines (45 loc) · 1.4 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
{
"extends": ["@hrwg/eslint-config"],
"overrides": [
{
"files": ["*.ts", "*.vue"],
"rules": {
"no-shadow": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "warn"
}
},
{
"files": [
"*.vue",
"api/**/*.ts",
"composables/**/*.ts",
"prisma/**/*.ts",
"stores/**/*.ts"
],
"rules": {
"constructor-super": "off",
"getter-return": "off",
"no-const-assign": "off",
"no-dupe-args": "off",
"no-dupe-class-members": "off",
"no-dupe-keys": "off",
"no-func-assign": "off",
"no-import-assign": "off",
"no-new-symbol": "off",
"no-obj-calls": "off",
"no-redeclare": "off",
"no-setter-return": "off",
"no-this-before-super": "off",
"no-undef": "off",
"no-unreachable": "off",
"no-unsafe-negation": "off",
"no-var": "error",
"prefer-const": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"valid-typeof": "off"
}
}
]
}