Skip to content

An interface for disabling all lints/checks in a directory #406

@nathanjmcdougall

Description

@nathanjmcdougall

Motivation
e.g. usethis ignore <dir>. This is convenient in many cases where a directory is not to be analysed for whatever reason.

In addition, we should add individual option for each tool as a standard option --ignore <dir>. For example,

usethis tool ruff --ignore <dir> --ignore <other-dir>.

Not sure how easy it would be in typer to allow the same option to be repeated but we can look into it.

Summary of desired enhancement
Provide an interface to ignore directories for all managed tooling which runs analysis.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions