-
Notifications
You must be signed in to change notification settings - Fork 178
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
Strategies for different linters across projects #529
Comments
+1 this! |
@iam4x any thoughts? |
Personally, I could certainly live with a Of course, it's yet another config file littering the project dir. As an improvement, perhaps there could also be a per-platform way of configuring the linter. For example, in the case of Node.js, |
Maybe it could even be an EditorConfig thing? |
You can already achieve it, just put a And add a specific one in the folder where you want to. |
That applies to using different ESLint configurations, not different linters altogether. |
Humm, you want to have linter package disabled on different folder. Or for instance have lint on change for a project and not for another one? |
My main request was being able to use linter A for project/folder 1 and linter B for project/folder 2. Being able to configure linters on a per-project basis would be an extension of that. Another extension would be disabling linting for certain projects. |
If I have multiple linters installed for a language, I can already configure them on a per-directory basis using e.g.
.eslintrc
files. However, can I also configure Linter itself to only allow a certain subset of my installed linters inside a certain directory tree?A concrete use case would be that I want to use JS Standard Style for project A, but a custom
.eslintrc
for project B. In this particular instance, I could also just add all files to Standard's ignore list, but I'd rather not run that particular linter altogether.The text was updated successfully, but these errors were encountered: