Files
HugoBlox-kit/biome.json
T
George Cushen d5d2f04c2d chore: adopt Biome + Stylelint, modernize CI/CD, add security/support docs, minor JS fixes
- Linting/format
  - Replace ESLint/Prettier with Biome; remove old configs; add `biome.json`; update scripts
  - Tailwind-friendly `.stylelintrc.yaml`; Stylelint and Biome pass
  - Enable Biome across `modules/**`; prune legacy JS globals; ignore oversized `devicon.json`

- Code fixes
  - `hb-theme.js`: avoid assignment-in-expressions; clearer dataset updates
  - `hugoblox-slides.js`: fix inner var scope (var → let); apply formatting

- CI/CD
  - Split lint/build workflows; add path filters; Node via Corepack (pnpm from package.json)
  - Hugo pinned to env `HUGO_VERSION`; add consistency check vs `starters/academic-cv/hugoblox.yaml`
  - Nightly starters matrix build (academic-cv, landing-page); CodeQL weekly; resource caches

- Workflows/Community
  - Greeter: switch to `pull_request_target`; add Contributor Guide to PR message
  - PR labeler for path-based labels

- Repo policies/docs
  - `CODEOWNERS` for `@gcushen`
  - `SECURITY.md`, `SUPPORT.md`
  - Documented branch protection in `.github/settings.yml`
  - Move `CODE_OF_CONDUCT.md` to `.github/`

- docs(zh): update `README.zh.md` translation

Notes:
- pnpm is sourced from `package.json: packageManager` via Corepack; no hard-coded pnpm versions in CI.
2025-09-17 03:17:38 +01:00

48 lines
987 B
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",
"**/*.webmanifest",
"**/*.backlinks.json",
"**/hugo_stats.json",
"**/*.code-workspace",
"modules/blox-tailwind/data/icons/devicon.json",
"starters/**",
"test/**",
"modules/**/package.json",
"**/assets/jsconfig.json"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": { "all": false },
"complexity": { "all": false },
"suspicious": {
"noEmptyBlock": "off"
}
}
},
"organizeImports": {
"enabled": true
},
"javascript": {
"globals": ["PagefindUI"]
}
}