diff options
author | 2023-09-20 04:07:20 +0200 | |
---|---|---|
committer | 2023-09-20 04:07:20 +0200 | |
commit | 9991052ce5617abf0f270bc9a74627ab6d45b35d (patch) | |
tree | 86aee92a3b8eb6e8870687daf45b292abaa308ad | |
parent | e8b01eb5435500c4b4d3135dde3d9e5910aca89e (diff) | |
download | iced-9991052ce5617abf0f270bc9a74627ab6d45b35d.tar.gz iced-9991052ce5617abf0f270bc9a74627ab6d45b35d.tar.bz2 iced-9991052ce5617abf0f270bc9a74627ab6d45b35d.zip |
Create `cargo lint` alias
-rw-r--r-- | .cargo/config.toml | 2 | ||||
-rw-r--r-- | .github/workflows/lint.yml | 2 | ||||
-rw-r--r-- | .gitignore | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000..08884888 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[alias] +lint = "clippy --workspace --no-deps -- -D warnings -D clippy::semicolon_if_nothing_returned" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6fd98374..7fdc8867 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 @@ -2,6 +2,5 @@ target/ pkg/ **/*.rs.bk Cargo.lock -.cargo/ dist/ traces/ |