Open mcandre opened 9 years ago
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?