mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-15 20:17:22 +00:00
upgrade biome config
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -28,6 +28,7 @@ packages/media/.env
|
||||
/.verdaccio
|
||||
.idea
|
||||
.vscode
|
||||
!.vscode/settings.json
|
||||
.git_old
|
||||
docker/tmp
|
||||
.debug
|
||||
|
||||
40
biome.json
40
biome.json
@@ -1,14 +1,13 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
||||
"organizeImports": {
|
||||
"enabled": true
|
||||
},
|
||||
"$schema": "https://biomejs.dev/schemas/2.3.3/schema.json",
|
||||
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
||||
"vcs": {
|
||||
"defaultBranch": "main"
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"indentStyle": "space"
|
||||
"indentStyle": "space",
|
||||
"formatWithErrors": true
|
||||
},
|
||||
"javascript": {
|
||||
"formatter": {
|
||||
@@ -30,27 +29,26 @@
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"ignore": [
|
||||
"**/node_modules/**",
|
||||
"node_modules/**",
|
||||
"**/.cache/**",
|
||||
"**/.wrangler/**",
|
||||
"**/build/**",
|
||||
"**/dist/**",
|
||||
"**/data.sqld/**",
|
||||
"data.sqld/**",
|
||||
"public/**",
|
||||
".history/**"
|
||||
"includes": [
|
||||
"**",
|
||||
"!**/node_modules",
|
||||
"!**/node_modules",
|
||||
"!**/.cache",
|
||||
"!**/.wrangler",
|
||||
"!**/build",
|
||||
"!**/dist",
|
||||
"!**/data.sqld",
|
||||
"!**/data.sqld",
|
||||
"!**/public",
|
||||
"!**/.history"
|
||||
]
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"ignore": ["**/*.spec.ts"],
|
||||
"includes": ["**"],
|
||||
"rules": {
|
||||
"recommended": true,
|
||||
"a11y": {
|
||||
"all": false
|
||||
},
|
||||
"a11y": {},
|
||||
"correctness": {
|
||||
"useExhaustiveDependencies": "off",
|
||||
"noUnreachable": "warn",
|
||||
@@ -70,7 +68,7 @@
|
||||
"noArrayIndexKey": "off",
|
||||
"noImplicitAnyLet": "warn",
|
||||
"noConfusingVoidType": "off",
|
||||
"noConsoleLog": "warn"
|
||||
"noConsole": { "level": "warn", "options": { "allow": ["log"] } }
|
||||
},
|
||||
"security": {
|
||||
"noDangerouslySetInnerHtml": "off"
|
||||
|
||||
Reference in New Issue
Block a user