hugo-academic-mirror/biome.json
2025-11-06 21:17:51 +00:00

81 lines
1.7 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.3.2/schema.json",
"files": {
"includes": [
"**",
"!**/node_modules",
"!**/public",
"!**/resources",
"!**/_gen",
"!**/assets/dist",
"!**/*.min.js",
"!**/*.min.css",
"!**/pagefind",
"!**/_vendor",
"!**/vendor",
"!**/*.html",
"!**/layouts/**/*.html",
"!**/layouts/**/*.htm",
"!**/*.webmanifest",
"!**/*.backlinks.json",
"!**/hugo_stats.json",
"!**/*.code-workspace",
"!**/modules/blox-tailwind/data/icons/devicon.json",
"!**/templates",
"!**/test",
"!**/modules/**/package.json",
"!**/assets/jsconfig.json",
"!**/docs-local",
"!**/backups",
"!**/modules/blox-tailwind/assets/css/config/safelist.css"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 150
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"trailingCommas": "all",
"bracketSpacing": false
},
"globals": ["PagefindUI"]
},
"json": {
"formatter": {
"trailingCommas": "none"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {},
"complexity": {},
"suspicious": {
"noEmptyBlock": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
}
}
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"css": {
"parser": {
"tailwindDirectives": true
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 150
},
"linter": {
"enabled": true
}
}
}