Skip to content

Commit

Permalink
Add fmt task
Browse files Browse the repository at this point in the history
Because of just calling nix fmt does not ignore .direnv

NixOS/nixfmt#151
  • Loading branch information
kachick committed Apr 1, 2024
1 parent 2e2121b commit 2a06229
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
// If you want to keep stylelint color print in local, Use `unbuffer deno run --node-modules-dir ...`
"stylelint": "deno task cache && deno run --node-modules-dir --allow-env --allow-read --allow-sys npm:[email protected]/stylelint **/*.css | deno run --allow-sys scripts/isEmpty.ts",
"deps": "nix --version && nil --version && deno --version && dprint --version",
"cache": "deno cache --node-modules-dir npm:[email protected] npm:[email protected]"
"cache": "deno cache --node-modules-dir npm:[email protected] npm:[email protected]",
"fmt": "deno fmt && dprint fmt && nix fmt ./*.nix"
},
"lint": {
"include": ["scripts/"],
Expand Down

0 comments on commit 2a06229

Please sign in to comment.