linting with biome...
This commit is contained in:
parent
da2e7da762
commit
f19b9f3b36
263 changed files with 3013 additions and 2754 deletions
55
biome.json
Normal file
55
biome.json
Normal file
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.1.2/schema.json",
|
||||
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
|
||||
"files": {
|
||||
"ignoreUnknown": true,
|
||||
"experimentalScannerIgnores": ["build", "node_modules", ".svelte-kit"],
|
||||
"includes": [
|
||||
"**",
|
||||
"**/*.svelte",
|
||||
"!**/package-lock.json",
|
||||
"!**/pnpm-lock.yaml",
|
||||
"!**/yarn.lock",
|
||||
"!**/bun.lock",
|
||||
"!**/bun.lockb",
|
||||
"!./static/",
|
||||
"!./drizzle/",
|
||||
"!./node_modules/",
|
||||
"!./build/",
|
||||
"!.svelte-kit"
|
||||
]
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"bracketSameLine": true,
|
||||
"formatWithErrors": false
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true,
|
||||
"style": {
|
||||
"useConst": "off"
|
||||
},
|
||||
"correctness": {
|
||||
"noUnusedVariables": "off",
|
||||
"noUnusedImports": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"javascript": {
|
||||
"formatter": {
|
||||
"quoteStyle": "single",
|
||||
"trailingCommas": "none"
|
||||
}
|
||||
},
|
||||
"json": {
|
||||
"formatter": {
|
||||
"trailingCommas": "none"
|
||||
}
|
||||
},
|
||||
"assist": {
|
||||
"enabled": true,
|
||||
"actions": { "source": { "organizeImports": "on" } }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue