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

[ESLint] Allow absolute paths for eslint.json #342

Closed
letmaik opened this issue Oct 5, 2015 · 8 comments
Closed

[ESLint] Allow absolute paths for eslint.json #342

letmaik opened this issue Oct 5, 2015 · 8 comments
Milestone

Comments

@letmaik
Copy link

letmaik commented Oct 5, 2015

Since config files are now exchangeable it would be nice if it is possible to also put an absolute path for ESLint's json file. If I have several projects then I might not want to copy the same eslint.json into each project.

@angelozerr
Copy link
Owner

It looks like same feature than #297 (but for JSHint).

@letmaik
Copy link
Author

letmaik commented Oct 5, 2015 via email

@angelozerr
Copy link
Owner

So there's demand, which is good :)

If I understand your need. You wish to select an eslint.json from an another project (eg: commons-config). If you wish to do that I think you can do it by setting it the value at hand ../commons-config/eslint.json

@letmaik
Copy link
Author

letmaik commented Oct 5, 2015 via email

@angelozerr angelozerr changed the title Allow absolute paths for eslint.json [ESLint] Allow absolute paths for eslint.json Oct 5, 2015
@angelozerr angelozerr added this to the 1.1.0 milestone Oct 5, 2015
angelozerr added a commit to angelozerr/tern-eslint that referenced this issue Oct 5, 2015
angelozerr added a commit that referenced this issue Oct 5, 2015
@angelozerr
Copy link
Owner

Ok I have improved the UI, now you can select eslint.json from project, workspace or file system.

eslintconfig

I have added too an error messag ewhen fiel is not valid. Tell me if it works for you.

Please wait that build https://opensagres.ci.cloudbees.com/job/tern.java/749/ finishes.

@letmaik
Copy link
Author

letmaik commented Oct 5, 2015 via email

@letmaik
Copy link
Author

letmaik commented Oct 8, 2015

Works, thanks!

@letmaik letmaik closed this as completed Oct 8, 2015
@angelozerr
Copy link
Owner

@neothemachine I use "Use config files" like WebSorms for JSHint https://www.jetbrains.com/webstorm/help/jshint.html.

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

2 participants