This commit is contained in:
gcch 2026-04-10 21:24:00 +02:00
commit c3759fc377
12 changed files with 170 additions and 155 deletions

View file

@ -9,7 +9,7 @@ format:
--ignore-unknown \
--parallel-workers 8 \
--write .
dprint fmt --config ~/.config/dprint/dprint.jsonc
treefmt --config-file "/home/gcch/.config/treefmt/treefmt.toml"
# Met à jour les dépendances NPM.
update:
@ -21,6 +21,12 @@ lint-js:
--config cfg/oxlint.config.ts \
--format stylish
# Analyse le code TypeScript avec Oxlint.
fix-js:
bun --bun oxlint \
--config cfg/oxlint.config.ts \
--fix --fix-suggestions --fix-dangerously
# Analyse le code mort et les dépendances inutilisées du projet.
find-dead-code:
-bun --bun knip --cache --cache-location ".cache/knipcache" --strict