1
Fork 0

Add cargo-make linting tasks.

This commit is contained in:
Bauke 2024-03-02 13:35:08 +01:00
parent eb054986a6
commit 6fde7bbfae
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 14 additions and 0 deletions

View File

@ -2,3 +2,17 @@
clear = true
command = "bunx"
args = ["--bun", "astro", "dev"]
[tasks.lint]
clear = true
dependencies = ["lint-ts", "lint-scss"]
[tasks.lint-ts]
clear = true
command = "bunx"
args = ["xo"]
[tasks.lint-scss]
clear = true
command = "bunx"
args = ["--bun", "stylelint", "source/**/*.scss"]