node-jslint
node-jslint copied to clipboard
The JavaScript Code Quality Tool — for Node.js.
As a JavaScript newbie, I want JSLint to automatically sort its warnings by line number, ascending, so that I don't have to jump all around in a file several times...
How can I exclude files when I lint from the command line? Ideally, I would like to add an exclusion pattern to the config file, e.g. { './js/_.js', '!./js/_.min.js' }
Suppose you have two files in your working directory: `test1.js`: ``` javascript /*jslint browser, this */ document.createElement("div"); console.log(this); ``` and `test2.js`: ``` javascript document.createElement("div"); console.log(this); ``` `jslint --edition=es6 test1.js test2.js`...
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...
the tests for reporter are unwieldy; if reporter were refactored it would be easier to test.
Logging code is now duplicated between linter, nodelint. Refactor to eliminate duplication. Better mock function for testing. Check whether it makes sense to use someone else's log. Would be nice...
jslint-vim has a jslintrc syntax which consists of a jslint comment . see http://stackoverflow.com/questions/12443532/jslint-vim-configuration
No linting: just take ~/.jslintrc, local jslintrc, and command line options and generate jslintrc file to stdout -- see if this is in nopt? -- maybe it belongs in nopt?