-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(dev): replace prettier+eslint with biome
- Loading branch information
1 parent
edc191f
commit ff242ef
Showing
103 changed files
with
2,203 additions
and
2,238 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,6 @@ | |
"\t\t$0", | ||
"\t}", | ||
"}" | ||
], | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
{ | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode" | ||
] | ||
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit" | ||
"quickfix.biome": "explicit", | ||
"source.organizeImports.biome": "explicit" | ||
}, | ||
|
||
"eslint.options": { | ||
"rulePaths": ["./vendor/rules"] | ||
}, | ||
"eslint.validate": ["typescript"], | ||
|
||
"typescript.tsdk": "node_modules/typescript/lib", | ||
|
||
"[typescript]": { | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "biomejs.biome", | ||
"editor.formatOnSave": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#!/usr/bin/env node | ||
|
||
import Container from '~/util/Container'; | ||
import localize from '~/util/i18n/localize'; | ||
import Container from "~/util/Container"; | ||
import localize from "~/util/i18n/localize"; | ||
|
||
const { config, soundBot: bot } = Container; | ||
|
||
localize.setLocale(config.language); | ||
bot.start(); | ||
|
||
console.info(localize.t('url', { clientId: config.clientId })); | ||
console.info(localize.t("url", { clientId: config.clientId })); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", | ||
|
||
"vcs": { | ||
"enabled": true, | ||
"clientKind": "git" | ||
}, | ||
|
||
"formatter": { | ||
"enabled": true, | ||
"indentStyle": "space", | ||
"lineWidth": 100 | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true, | ||
"complexity": { | ||
"noForEach": "off" | ||
} | ||
} | ||
}, | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
|
||
"javascript": { | ||
"formatter": { | ||
"trailingCommas": "es5" | ||
} | ||
}, | ||
|
||
"overrides": [ | ||
{ | ||
"include": ["package.json"], | ||
"formatter": { | ||
"enabled": false | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.