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

Auto Detect which linter to use based on config files in current project #145

Open
OffByNone opened this issue Jun 28, 2015 · 2 comments
Open

Comments

@OffByNone
Copy link

It would be really nice if this could look at my currently open project for linter config files and if present, use whichever (supported) linter they are for and the settings contained within.
Ex. Recognize that I have .eslintrc and .eslintignore files in the root project folder. Enable eslint with the settings contained in the two files.

@MiguelCastillo
Copy link
Owner

@OffByNone Interesting idea. The way interactive linter works is that it will look at the folder for file you open and traverse the folder hierarchy searching for a settings file corresponding to the configured linter. I am not sure how well your approach would work simply because of performance.

Would you be interested in creating a PR?

@OffByNone
Copy link
Author

At the moment I am quite busy, and don't have the time. If I get some time I will see what I can do.

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