mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
build(dev-deps): Update biome to v2 (#4246)
* update biome to v2 * Run biome check --write * Update biome.jsonc Co-authored-by: Link <lts20050703@gmail.com> * Fix config error * Bump biome version * Update website/yarn.lock * Update biome to 2.1.3 --------- Co-authored-by: Link <lts20050703@gmail.com>
This commit is contained in:
+18
-15
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
||||
"$schema": "https://biomejs.dev/schemas/2.1.3/schema.json",
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"formatWithErrors": false,
|
||||
@@ -8,8 +8,12 @@
|
||||
"lineEnding": "lf",
|
||||
"lineWidth": 150
|
||||
},
|
||||
"organizeImports": {
|
||||
"enabled": true
|
||||
"assist": {
|
||||
"actions": {
|
||||
"source": {
|
||||
"organizeImports": "on"
|
||||
}
|
||||
}
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
@@ -44,21 +48,20 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"ignore": [
|
||||
"includes": [
|
||||
"**",
|
||||
// Ignore the package.json and leave yarn to format it
|
||||
"package.json",
|
||||
"node_modules",
|
||||
"!**/package.json",
|
||||
"!**/node_modules",
|
||||
// Ignore turbo and docusaurus cache/stuff
|
||||
".docusaurus",
|
||||
".turbo",
|
||||
// Remove the yarn script as it is minified
|
||||
".yarn",
|
||||
"!**/.docusaurus",
|
||||
"!**/.turbo",
|
||||
// Remove the yarn script as it is minified,
|
||||
"!**/.yarn",
|
||||
// Ignore build outputs
|
||||
"bunTestsDist",
|
||||
"build",
|
||||
"coverage",
|
||||
"denoTestsDist",
|
||||
"dist"
|
||||
"!**/build",
|
||||
"!**/coverage",
|
||||
"!**/dist"
|
||||
],
|
||||
"ignoreUnknown": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user