You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not exactly sure how to configure CLI JSLint rules. Could we please add more explicit usage examples for this in the README, answering questions like:
Is there a convention for the JSLint configuration filename, like .jslintrc or jslint.conf?
Does jslint automatically load configuration on a per-project (./.jslintrc)or per-user ($HOME/.jslintrc) basis? Or do users have to manually specify --conf .jslintrc or this to happen?
The text was updated successfully, but these errors were encountered:
node-jslint will first read settings from the home directory (~/.jslint.conf or ~/.jslintrc) and then from the current directory (./jslint.conf or ./jslintrc).
Note that it looks for a leading dot in the home directory and no leading dot in the current directory.
Any chance for a jslintConfig section in package.jason? I quite like the feature os jshint and eslint to put their config into package.json. It makes your root diretory less polluted.
I'm not exactly sure how to configure CLI JSLint rules. Could we please add more explicit usage examples for this in the README, answering questions like:
.jslintrc
orjslint.conf
?./.jslintrc
)or per-user ($HOME/.jslintrc
) basis? Or do users have to manually specify--conf .jslintrc
or this to happen?The text was updated successfully, but these errors were encountered: