chore: update biome settings
This commit is contained in:
parent
6de7bf3f20
commit
271552b453
6
.vscode/extensions.json
vendored
6
.vscode/extensions.json
vendored
@ -1,13 +1,7 @@
|
|||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"DavidAnson.vscode-markdownlint", // markdown linting
|
|
||||||
"esbenp.prettier-vscode", // prettier plugin
|
|
||||||
"dbaeumer.vscode-eslint", // eslint plugin
|
|
||||||
"bradlc.vscode-tailwindcss", // hinting / autocompletion for tailwind
|
"bradlc.vscode-tailwindcss", // hinting / autocompletion for tailwind
|
||||||
"ban.spellright", // Spell check for docs
|
"ban.spellright", // Spell check for docs
|
||||||
"stripe.vscode-stripe", // stripe VSCode extension
|
|
||||||
"rebornix.project-snippets", // Share useful snippets between collaborators
|
|
||||||
"inlang.vs-code-extension",
|
|
||||||
"biomejs.biome" // improved i18n DX
|
"biomejs.biome" // improved i18n DX
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
9
.vscode/settings.json
vendored
9
.vscode/settings.json
vendored
@ -2,18 +2,15 @@
|
|||||||
"typescript.tsdk": "node_modules/typescript/lib",
|
"typescript.tsdk": "node_modules/typescript/lib",
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"quickfix.biome": "explicit",
|
"quickfix.biome": "always"
|
||||||
"source.organizeImports.biome": "explicit"
|
// "source.organizeImports.biome": "explicit"
|
||||||
},
|
},
|
||||||
"typescript.preferences.importModuleSpecifier": "non-relative",
|
"typescript.preferences.importModuleSpecifier": "non-relative",
|
||||||
"spellright.language": ["en"],
|
"spellright.language": ["en"],
|
||||||
"spellright.documentTypes": ["markdown", "typescript", "typescriptreact"],
|
"spellright.documentTypes": ["markdown", "typescript", "typescriptreact"],
|
||||||
"tailwindCSS.experimental.classRegex": [
|
"tailwindCSS.experimental.classRegex": [
|
||||||
[
|
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
|
||||||
"cva\\(([^)]*)\\)",
|
|
||||||
"[\"'`]([^\"'`]*).*?[\"'`]"
|
|
||||||
]
|
]
|
||||||
],
|
|
||||||
// "eslint.workingDirectories": [
|
// "eslint.workingDirectories": [
|
||||||
// { "mode": "auto" }
|
// { "mode": "auto" }
|
||||||
// ],
|
// ],
|
||||||
|
@ -1,10 +1,15 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
|
"$schema": "./web/node_modules/@biomejs/biome/configuration_schema.json",
|
||||||
"organizeImports": {
|
"organizeImports": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
|
"formatter": {
|
||||||
|
"indentStyle": "space",
|
||||||
|
"indentWidth": 2,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
"linter": {
|
"linter": {
|
||||||
"enabled": true,
|
"enabled": false,
|
||||||
"rules": {
|
"rules": {
|
||||||
"recommended": true
|
"recommended": true
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user