forked from Kong/httpsnippet
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc
46 lines (44 loc) · 998 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
38
39
40
41
42
43
44
45
46
{
"extends": [
"@readme/eslint-config",
"@readme/eslint-config/esm",
"@readme/eslint-config/typescript",
"@readme/eslint-config/testing/vitest"
],
"root": true,
"env": {
"browser": true
},
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": "off",
"camelcase": "off",
"class-methods-use-this": "off",
"default-case": "off",
"max-classes-per-file": "off",
"no-param-reassign": "off",
"no-underscore-dangle": ["error", { "allow": ["_boundary"] }],
"spaced-comment": "off",
"vitest/require-hook": [
"error",
{
"allowedFunctionCalls": ["runCustomFixtures"]
}
]
},
"overrides": [
{
"files": ["src/fixtures/**"],
"rules": {
"import/no-commonjs": "off",
"unicorn/prefer-module": "off"
}
},
{
"files": ["src/**/*.test.*"],
"rules": {
"unicorn/prefer-module": "off"
}
}
]
}