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

Support plugin disabled = true in qlty.toml #1222

Open
brynary opened this issue Nov 26, 2024 · 0 comments
Open

Support plugin disabled = true in qlty.toml #1222

brynary opened this issue Nov 26, 2024 · 0 comments
Labels

Comments

@brynary
Copy link
Member

brynary commented Nov 26, 2024

In a qlty.toml file, support the following syntax:

[[plugin]]
name = "bandit"
version = "1.7.9"
disabled = true

If a plugin is set to disabled = true, it should not be run. It should behave as if the plugin wasn't in the qlty.toml

There are two advantages to this:

  1. Quickly testing disabling a plugin without removing the configuration content for the plugin
  2. Telling the system that a plugin is unwanted, which allows us to avoid suggesting that plugin again
@brynary brynary changed the title TODO Support plugin disabled = true in qlty.toml Nov 26, 2024
@lsegal lsegal added the feature label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants