Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable checking of individual file #294

Open
rnwst opened this issue Jul 23, 2024 · 1 comment
Open

Disable checking of individual file #294

rnwst opened this issue Jul 23, 2024 · 1 comment
Labels
component: core Affects the core infrastructure

Comments

@rnwst
Copy link

rnwst commented Jul 23, 2024

The documentation on configuration describes the exclude_dir configuration option, to disable checking of all files located in a given directory, including nested directories. How would one go about disabling checking of an individual file, without excluding other files located in the same directory?

@florianschanda florianschanda added the component: core Affects the core infrastructure label Aug 15, 2024
@florianschanda
Copy link
Owner

Right now this is not possible, but I think there are two options that could be implemented:

  • an exclude_file config entry
  • a pragma comment to ignore the entire file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: core Affects the core infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants