-
-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathbiome.json
More file actions
100 lines (100 loc) · 2.34 KB
/
biome.json
File metadata and controls
100 lines (100 loc) · 2.34 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
"files": {
"includes": [
"**",
"!**/.yarn",
"!**/coverage",
"!**/dist",
"!**/.pnp.cjs",
"!**/.pnp.loader.mjs"
]
},
"assist": {
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
{ "type": false, "source": ":NODE:" },
{ "type": false, "source": ["vitest", "vitest/**", "@vitest/**", "vitest-*"] },
{ "type": false, "source": ["react", "react-dom", "react-dom/**", "react-native"] },
{ "type": false, "source": [":PACKAGE:"] },
":BLANK_LINE:",
{
"type": false,
"source": [
":PATH:",
"!**/hooks/*",
"!**/use*.js",
"!**/shared/*",
"!**/utils/*",
"!**/__mocks__/*",
"!**/test-utils.js"
]
},
":BLANK_LINE:",
{ "type": false, "source": ["**/hooks/*", "**/use*.js"] },
":BLANK_LINE:",
{ "type": false, "source": ["**/shared/*", "**/utils/*"] },
":BLANK_LINE:",
{ "type": false, "source": "**/__mocks__/*" },
":BLANK_LINE:",
{ "type": false, "source": "**/test-utils.js" },
":BLANK_LINE:",
":NODE:",
":PACKAGE:",
":PATH:"
]
}
}
}
}
},
"formatter": {
"lineWidth": 100,
"indentStyle": "space"
},
"linter": {
"rules": {
"complexity": {
"noUselessSwitchCase": "off"
},
"correctness": {
"noUnusedImports": "warn",
"noUnusedVariables": {
"level": "warn",
"options": {
"ignoreRestSiblings": true
}
}
},
"suspicious": {
"noConsole": "warn"
}
}
},
"css": {
"formatter": {
"quoteStyle": "single"
}
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"overrides": [
{
"includes": ["**/vite.config.ts"],
"linter": {
"rules": {
"suspicious": {
"noConsole": "off"
}
}
}
}
]
}