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

Selectively enable quick-lint-js #1230

Open
ricardobeat opened this issue Sep 25, 2024 · 2 comments
Open

Selectively enable quick-lint-js #1230

ricardobeat opened this issue Sep 25, 2024 · 2 comments

Comments

@ricardobeat
Copy link

Is there a way to selectively enable quick-lint-js (using the VS Code plugin)?

Something like requiring a quick-lint-js.config.js file, or not running when .eslintrc exists. I work daily with multiple projects and things can get messy with multiple linters running at the same time. This means installing quick-lint-js for a new project is not as easy as it could be in a way that can be shared with teammates.

@strager
Copy link
Collaborator

strager commented Sep 28, 2024

Is there a way to selectively enable quick-lint-js (using the VS Code plugin)?

No, there is currently no way to enable or disable quick-lint-js per-project. I am open to the idea though.

I work daily with multiple projects and things can get messy with multiple linters running at the same time.

Please help me understand the problem. Is quick-lint-js crashing on some projects? Is it giving diagnostics that it shouldn't give for some projects? Is it giving duplicate diagnostics that ESLint also gives? Or something else?

@ricardobeat
Copy link
Author

Is it giving duplicate diagnostics that ESLint also gives

This. Adding quick-lint-js and asking developers to install an editor extension to work on this particular project, means they get duplicate warnings for every project they work on.

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

No branches or pull requests

2 participants