Create cargo lint alias
This commit is contained in:
parent
e8b01eb543
commit
9991052ce5
3 changed files with 3 additions and 2 deletions
2
.cargo/config.toml
Normal file
2
.cargo/config.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[alias]
|
||||
lint = "clippy --workspace --no-deps -- -D warnings -D clippy::semicolon_if_nothing_returned"
|
||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
|
@ -9,4 +9,4 @@ jobs:
|
|||
components: clippy
|
||||
- uses: actions/checkout@master
|
||||
- name: Check lints
|
||||
run: cargo clippy --workspace --all-features --all-targets --no-deps -- -D warnings
|
||||
run: cargo lint
|
||||
|
|
|
|||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,6 +2,5 @@ target/
|
|||
pkg/
|
||||
**/*.rs.bk
|
||||
Cargo.lock
|
||||
.cargo/
|
||||
dist/
|
||||
traces/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue