Add cargo-make linting tasks.
This commit is contained in:
parent
eb054986a6
commit
6fde7bbfae
|
@ -2,3 +2,17 @@
|
||||||
clear = true
|
clear = true
|
||||||
command = "bunx"
|
command = "bunx"
|
||||||
args = ["--bun", "astro", "dev"]
|
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"]
|
||||||
|
|
Loading…
Reference in New Issue