diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-08-16 17:09:55 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-08-16 17:09:55 +0200 |
commit | fc0f0f9f15574b4f80bda8249c0763d5865cb8b2 (patch) | |
tree | 433f1185697aef430fb5795d886985662b872c40 | |
parent | 6ee90b34c87354baf8e03d5469a92cf5dd17a82b (diff) | |
download | markdown-rs-fc0f0f9f15574b4f80bda8249c0763d5865cb8b2.tar.gz markdown-rs-fc0f0f9f15574b4f80bda8249c0763d5865cb8b2.tar.bz2 markdown-rs-fc0f0f9f15574b4f80bda8249c0763d5865cb8b2.zip |
Add cargo clippy rules
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/main.yml | 2 | ||||
-rw-r--r-- | readme.md | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e400250..979962d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: with: toolchain: stable components: rustfmt, clippy - - run: cargo clippy -- -W clippy::pedantic -A clippy::doc_link_with_quotes + - run: cargo clippy -- -D clippy::pedantic -D clippy::cargo -A clippy::doc_link_with_quotes - run: cargo fmt --all -- --check - run: cargo test # - run: cargo install cargo-tarpaulin && cargo tarpaulin --out Xml @@ -32,7 +32,6 @@ Crate docs are currently at and fix stuff I’m doing manually now - [ ] (5) Do some research on rust best practices for APIs, e.g., what to accept, how to integrate with streams or so? -- [ ] (1) Go through clippy rules, and such, to add strict code styles - [ ] (3) Write comparison to other parsers - [ ] (3) Add node/etc bindings? - [ ] (3) Bunch of docs @@ -90,7 +89,7 @@ cargo fmt --all Lint: ```sh -cargo fmt --all -- --check && cargo clippy -- -W clippy::pedantic -A clippy::doc_link_with_quotes +cargo fmt --all -- --check && cargo clippy -- -D clippy::pedantic -D clippy::cargo -A clippy::doc_link_with_quotes ``` Tests: |