linter icon indicating copy to clipboard operation
linter copied to clipboard

Support disabling Indie Linters

Open smariel opened this issue 6 years ago • 5 comments

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.

smariel avatar Dec 24 '18 14:12 smariel

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

steelbrain avatar Jan 02 '19 00:01 steelbrain

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.

smariel avatar Jan 02 '19 15:01 smariel

Thank you for the extra info, will debug

steelbrain avatar Jan 02 '19 17:01 steelbrain

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

steelbrain avatar Jan 12 '19 01:01 steelbrain

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...

brettz9 avatar Mar 18 '22 01:03 brettz9