Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 10, 2024
1 parent 7ac592e commit 21d0e3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ raw = true
run = 'cargo test --all --all-features'

[tasks.lint]
run = [
'cargo clippy --all --all-features -- -D warnings',
'cargo fmt --all -- --check',
]
depends = ['lint:*']
[tasks."lint:clippy"]
run = 'cargo clippy --all --all-features -- -D warnings'
[tasks."lint:fmt"]
run = 'cargo fmt --all -- --check'

[tasks.lint-fix]
run = [
Expand Down
2 changes: 2 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ pre-commit:
lint:
interactive: true
run: mise run lint

skip_output: true

0 comments on commit 21d0e3c

Please sign in to comment.