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

multiple linter paths #13

Open
sheymann opened this issue Jul 30, 2014 · 1 comment
Open

multiple linter paths #13

sheymann opened this issue Jul 30, 2014 · 1 comment

Comments

@sheymann
Copy link

Linux and Windows use different paths for gjslint, but we don't know the OS of the user:

usr/local/bin vs C:\\Python27\\Scripts

It would be great that closureLinterPath takes an Array of paths, and tries a path if the previous path is unknown.

@sheymann
Copy link
Author

Assuming that C:\Python27\Scripts (or whatever Python version) is in Windows PATH env variable, this works:

closureLinterPath: (process.platform === "win32") ? 'gjslint' : '/usr/local/bin',
command: 'gjslint'

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

1 participant