Files
trawl/biome.json
T

91 lines
1.7 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.5.7/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git"
},
"files": {
"ignoreUnknown": false,
"includes": [
"**",
"!**/node_modules",
"!**/.data",
"!**/.nuxt",
"!**/.output",
"!**/dist",
"!**/cache",
"!**/coverage",
"!**/bun.lock",
"!**/tsconfig.tsbuildinfo"
]
},
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 120
},
"linter": {
"rules": {
"a11y": {
"noSvgWithoutTitle": "off",
"noStaticElementInteractions": "off"
},
"suspicious": {
"noUnknownAtRules": "off"
}
}
},
"javascript": {
"formatter": {
"semicolons": "asNeeded"
}
},
"html": {
"experimentalFullSupportEnabled": true,
"formatter": {
"enabled": true,
"selfCloseVoidElements": "always"
}
},
"css": {},
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"overrides": [
{
"includes": ["**/*.svelte", "**/*.astro", "**/*.vue"],
"linter": {
"rules": {
"style": {
"useConst": "off",
"useImportType": "off",
"noNonNullAssertion": "off"
},
"correctness": {
"noUnusedVariables": "off",
"noUnusedImports": "off",
"noUnknownPseudoClass": "off"
},
"a11y": {
"useValidAnchor": "off"
}
}
}
},
{
"includes": ["**/tests/**", "**/*.test.ts", "**/*.spec.ts"],
"linter": {
"rules": {
"suspicious": {
"noExplicitAny": "off"
}
}
}
}
]
}