rust-marker / marker

An experimental linting interface for Rust. Let's make custom lints a reality
https://rust-marker.github.io/marker/
Other
144 stars 11 forks source link

Use consistent naming `fn pat()` vs `fn pattern()` #297

Closed Veetaha closed 1 year ago

Veetaha commented 1 year ago

Some methods in marker_api are called pat(), but there are few that are called pattern. We need to make the naming consistent. Maybe move these methods under a trait and/or add a custom lint to marker_lints that checks that we don't call the term "pattern" inconsistently.