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 disabling Indie Linters #1603

Open
smariel opened this issue Dec 24, 2018 · 5 comments
Open

Support disabling Indie Linters #1603

smariel opened this issue Dec 24, 2018 · 5 comments

Comments

@smariel
Copy link

smariel commented Dec 24, 2018

I'm using linter 2.2.0, linter-ui-default 1.7.1 and ide-typescript 0.8.0.
When the ide-typescript package is enabled, the Linter pane has servals errors or infos provided by a provider called typescript.

Then, in the linter settings, when I add typescript in the "Disabled providers" field, nothing happens. The proviter is not disabled.

@steelbrain
Copy link
Owner

Hi @smariel

Try using the Linter: Disable Linter from the command palette, it does the same job except in a convenient way. As for why it wasn't working when you manually typed it in, it's because the names are case-sensitive.

Lmk if you disable it through the UI and still doesn't work

@smariel
Copy link
Author

smariel commented Jan 2, 2019

That is interesting: using the command palette, the "typescript" linter, which is integrated to the typescript IDE package, does not appear.
I removed any disabled providers from the UI to be sure.

@steelbrain
Copy link
Owner

Thank you for the extra info, will debug

@steelbrain
Copy link
Owner

Apparently IDE-X packages use the Linter "Indie" API. Linter does not support disabling them. but it should, thank you for reporting

@steelbrain steelbrain changed the title Can't disable provider Support disabling Indie Linters Jan 12, 2019
rixo added a commit to rixo/linter that referenced this issue May 18, 2019
@brettz9
Copy link

brettz9 commented Mar 18, 2022

I don't know if you would consider this a separate issue, but I'm using the handy linter-coverage package, but I only care to have it show in the gutter, not polluting other linting errors in the bottom panel (ideally with the ability to easily toggle to disable the gutter items too). (There were other packages which did the gutter only, but don't seem to be working anymore or are archived repositories.) Could you support partial disabling, e.g., of just the panel display for a given linter? Thanks...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants