-
Notifications
You must be signed in to change notification settings - Fork 0
/
.biome.jsonc
53 lines (53 loc) · 1.24 KB
/
.biome.jsonc
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
47
48
49
50
51
52
53
{
"$schema": "https://biomejs.dev/schemas/1.3.3/schema.json",
// format with dprint
"formatter": {
"enabled": false,
},
"linter": {
"enabled": true,
"ignore": ["dist", "server/src/lib/vendor"],
"rules": {
"recommended": true,
},
},
// organize imports with dprint
"organizeImports": {
"enabled": false,
},
"overrides": [
{
"include": ["server/src/lib/verify.ts"],
"linter": { "rules": { "style": { "noNonNullAssertion": "off" } } },
},
// TODO: improve types
{
"include": [
"client/src/lib/types.ts",
"server/src/lib/verify.ts",
"server/src/lib/run-snarkjs-verification.ts",
],
"linter": { "rules": { "suspicious": { "noExplicitAny": "off" } } },
},
// TODO: improve types
{
"include": ["server/src/lib/verify.ts"],
"linter": { "rules": { "style": { "noUnusedTemplateLiteral": "off", "useTemplate": "off" } } },
},
{
"include": ["client/src/components/withAuth.tsx"],
"linter": {
"rules": {
"correctness": {
"useExhaustiveDependencies": "off",
},
},
},
},
],
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
},
}