DioxusLabs / DioxusLabs/dioxus

Clippy-style linting system

Open
#1,460 3 comments 1 reaction 0 assignees View on GitHub
check cli enhancement
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

## Specific Demand

Create a Clippy-style linting system that would enforce best practices. We could integrate `dx check` into this, and add further lints. See #1448 for a further discussion on this.

## Implement Suggestion

We could base it on Clippy, but I found an interesting crate, [Dylint](https://crates.io/crates/dylint), that I think is worth taking a look at. It's similar to Clippy, but it's specifically designed to provide user-specific lints. Or in Dioxus's case, organization/crate specific lints. There's also this [blog post](https://blog.trailofbits.com/2021/11/09/write-rust-lints-without-forking-clippy/) by the author that introduces Dylint and it's advantages over Clippy.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.