Skip to content

Provide a default config file for Clippy #9992

Open
@xFrednet

Description

@xFrednet

We have a few lints with configuration values, like borrow_as_ptr. We want to increase the visibility of these config values, to encourage the use of them.

As part of this, we'd like to provide a default configuration file. The config should be included in the book.

Tasks:

  • Examine config values and determine which are probably often used
  • Some less commonly used but important ones should be listed, but commented out.
  • Additionally, a configuration could be provided, that should be run once before a release with configs like: avoid-breaking-exported-api

cc: #9880

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-documentationArea: Adding or improving documentationC-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesE-help-wantedCall for participation: Help is requested to fix this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions