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

configFile with absolute path #43

Open
Sebl29 opened this issue Mar 7, 2014 · 1 comment
Open

configFile with absolute path #43

Sebl29 opened this issue Mar 7, 2014 · 1 comment

Comments

@Sebl29
Copy link

Sebl29 commented Mar 7, 2014

Hi,
in a big project with many projects that include JS-files I want to use one config file for all of them (more specific: every project which has files in a directory described in "directories"). So I would like to define a path in my parent pom.xml to one configuration file that would be used in every project.
Currently the configuration value of "configFile" only gets interpreted relative to the basedir, ignoring the leading "/".
Tested in 1.3.0 and 1.3.1-SNAPSHOT.
Thanks for reading, good project!

@Sebl29
Copy link
Author

Sebl29 commented Mar 8, 2014

I fixed that one in a fork, test included. https://github.com/Sebl29/jshint-mojo

Another fix: findJshintrc (searches in all parent folders for .jshintrc) only gets called if no other file is specified. So it's faster and does not take such an alternative file when it is not desired.

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