This commit is contained in:
gcch 2026-04-27 22:20:50 +02:00
commit 888eb4aa54
8 changed files with 564 additions and 414 deletions

View file

@ -9,20 +9,29 @@ format:
--ignore-unknown \
--parallel-workers 8 \
--write .
dprint fmt --config ~/.config/dprint/dprint.jsonc
treefmt \
--config-file ~/.config/treefmt/treefmt.toml \
.
# Met à jour les dépendances NPM.
update:
bun update --interactive
# Analyse le code TypeScript avec ESLint.
# Analyse le code TypeScript avec ESLint et Oxlint.
lint-js:
bun eslint --cache --cache-location ".cache/eslintcache"
-bun eslint --cache --cache-location ".cache/eslintcache" --config cfg/eslint.config.ts
-bun --bun oxlint \
--config cfg/oxlint.config.ts
# Analyse le code mort et les dépendances inutilisées du projet.
find-dead-code:
-bun --bun knip --cache --cache-location ".cache/knipcache" --strict
-bun --bun knip --cache --cache-location ".cache/knipcache" --production --strict
-bun --bun knip \
--cache --cache-location ".cache/knipcache" \
--strict
-bun --bun knip \
--cache --cache-location ".cache/knipcache" \
--production \
--strict
# Compile le projet.
build: