atom-jshint
atom-jshint copied to clipboard
Allow for setting the preferred jshintrc file
Issue
The company I'm working for has 2 versions of their jshintrc file, one meant for running our test cases and is used to lint the entire project during development (including test files), the other that's a stripped down version meant for linting only the source code to validate it for production. Our .jshintrc file is our production file, while .jshintrc-dev is used for our development process. Our gulp linter uses the .jshintrc currently and I need to point atom to .jshintrc-dev instead of .jshintrc.
Solution
Allow for explicitly setting a .jshintrc file in the linter, preferably per project.
Advanced solution
Allowing for multiple jshintrc files, each consecutive file would overwrite any explicitly set parameters of the last.
Temporary solution
My short term solution is going to be to update our gulp process to use a .jshintrc-prod file instead and set our .jshintrc-dev to .jshintrc to support atom.