diff options
-rw-r--r-- | .github/workflows/main.yml | 3 | ||||
-rw-r--r-- | readme.md | 3 | ||||
-rw-r--r-- | src/lib.rs | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9d45ca4..a9bc7e3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,8 +11,7 @@ jobs: with: toolchain: stable components: rustfmt, clippy - - run: cargo clippy --examples --tests --benches -- -D clippy::pedantic -A clippy::doc_link_with_quotes -A clippy::too_many_lines - - run: cargo fmt --all -- --check + - run: cargo fmt --check && cargo clippy --examples --tests --benches - run: cargo test # - run: cargo install cargo-tarpaulin && cargo tarpaulin --out Xml # - uses: codecov/codecov-action@v1 @@ -363,8 +363,7 @@ The following scripts are useful when working on this project: ``` - lint: ```sh - cargo fmt --check &&\ - cargo clippy --examples --tests --benches -- -D clippy::pedantic -A clippy::doc_link_with_quotes -A clippy::too_many_lines + cargo fmt --check && cargo clippy --examples --tests --benches ``` - test: ```sh @@ -12,6 +12,9 @@ //! * [`micromark_to_mdast`][] //! — like `micromark_with_options` but compiles to a syntax tree #![no_std] +#![deny(clippy::pedantic)] +#![allow(clippy::doc_link_with_quotes)] +#![allow(clippy::too_many_lines)] extern crate alloc; |