-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy patheslint.config.js
More file actions
34 lines (33 loc) · 810 Bytes
/
eslint.config.js
File metadata and controls
34 lines (33 loc) · 810 Bytes
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
import berlysia from "@berlysia/eslint-config";
export default berlysia(
{
typescript: true,
testLibrary: "vitest",
},
{
files: ["src/testing/**/*.ts", "src/performance/**/*.ts"],
rules: {
"@typescript-eslint/explicit-module-boundary-types": "off",
"max-depth": "off",
"unicorn/prefer-module": "off",
"unicorn/text-encoding-identifier-case": "off",
"unicorn/consistent-function-scoping": "off",
},
},
{
files: ["src/**/*.ts"],
rules: {
"jsdoc/require-template": "off",
"unicorn/prefer-spread": "off",
"unicorn/no-new-array": "off",
"unicorn/no-array-push-push": "off",
"no-useless-assignment": "off",
},
},
{
files: ["src/**/*.test.ts"],
rules: {
"test/require-hook": "off",
},
}
);