Skip to content

Create more than 2 lint groups #743

Closed
@mcarton

Description

@mcarton

Currently we have two lint groups, clippy and clippy_pendantic.

We’ve already discussed that we should have more.

I can think of:

  • clippy_deprecated: group where we move lints we ultimately want to remove (ref as_slice will be stable in 1.7 #728);
  • clippy_non_api_breaking: subgroup of clippy with only lints whose fix would not change the public API (eg. no ptr_arg, type_complexity, wrong_pub_self_convention, etc.). Useful for crate which did not use Clippy historically and don’t want to change their API. Or maybe clippy_api_breaking with only those lints? Or both and ensure any lint is in either one?

Can you think of other groups you’d want?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-categoryArea: Categorization of lintsC-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesS-needs-discussionStatus: Needs further discussion before merging or work can be started

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions