aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/main.yml3
-rw-r--r--readme.md3
-rw-r--r--src/lib.rs3
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
diff --git a/readme.md b/readme.md
index 24f2f02..91b7985 100644
--- a/readme.md
+++ b/readme.md
@@ -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
diff --git a/src/lib.rs b/src/lib.rs
index e552327..f423b68 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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;