mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 08:14:33 +00:00
- Centralize logger: warnf/errorf for normal pages; HTML comments for adapters - Add dev console logs and export structured logs to /hbx-debug.json - Remove --panicOnWarning from dev scripts; builds no longer fail on warnings - Fix prior lint/format issues across scripts and templates
67 lines
1.4 KiB
JSON
67 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
"files": {
|
|
"ignore": [
|
|
"node_modules/**",
|
|
"public/**",
|
|
"resources/**",
|
|
"**/_gen/**",
|
|
"**/assets/dist/**",
|
|
"**/*.min.js",
|
|
"**/pagefind/**",
|
|
"**/_vendor/**",
|
|
"**/vendor/**",
|
|
"**/*.html",
|
|
"**/layouts/**/*.html",
|
|
"**/layouts/**/*.htm",
|
|
"**/*.webmanifest",
|
|
"**/*.backlinks.json",
|
|
"**/hugo_stats.json",
|
|
"**/*.code-workspace",
|
|
"modules/blox-tailwind/data/icons/devicon.json",
|
|
"starters/**",
|
|
"test/**",
|
|
"modules/**/package.json",
|
|
"**/assets/jsconfig.json",
|
|
"docs-local",
|
|
"backups/**"
|
|
]
|
|
},
|
|
"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": { "all": false },
|
|
"complexity": { "all": false },
|
|
"suspicious": {
|
|
"noEmptyBlock": "off"
|
|
},
|
|
"security": {
|
|
"noDangerouslySetInnerHtml": "off"
|
|
}
|
|
}
|
|
},
|
|
"organizeImports": {
|
|
"enabled": true
|
|
}
|
|
}
|