2025-03-08
This commit is contained in:
parent
ad01868a9f
commit
2dd3c05805
19 changed files with 389 additions and 112 deletions
16
justfile
16
justfile
|
|
@ -79,12 +79,12 @@ watch-format:
|
|||
watchexec dprint --config "cfg/dprint.json" fmt
|
||||
|
||||
# Vérifie le code CSS avec stylelint.
|
||||
lint-css:
|
||||
lint-css fix="":
|
||||
bun --bun stylelint \
|
||||
--cache --cache-location "{{ cacheFolder }}/{{ stylelintCacheFile }}" \
|
||||
--config "{{ stylelintConfigFile }}" \
|
||||
--fix \
|
||||
"**/*.{css,vue}"
|
||||
"src/**/*.{css,vue}" \
|
||||
{{ fix }}
|
||||
|
||||
# Analyse le code TypeScript et Vue.
|
||||
lint-js fix="":
|
||||
|
|
@ -111,5 +111,11 @@ lint-dead-code:
|
|||
|
||||
# Vérifie tous les fichiers.
|
||||
lint-all:
|
||||
just lint-css
|
||||
just lint-js
|
||||
just lint-css --fix
|
||||
just lint-js --fix
|
||||
|
||||
# Génère le nécessaire pour TLS.
|
||||
tls:
|
||||
-rm -rfv .tls/
|
||||
mkdir -vp .tls/
|
||||
mkcert -key-file ./.tls/key.pem -cert-file ./.tls/cert.pem "journal.site"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue