0.0.12
This commit is contained in:
parent
c0620280e6
commit
888eb4aa54
8 changed files with 564 additions and 414 deletions
19
justfile
19
justfile
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue