Open andrewdeandrade opened 10 years ago
The above duplicates have been resolved in v0.4.0. Will leave this thread open to address additional duplicate rules discovered.
Also, deduping doesn't work properly between jscs and other linters when the file starts with a shell script #!/
. This is due to a bug in esprima/jscs. The issue is here: https://github.com/jscs-dev/node-jscs/issues/730
jshint.W069 -> eslint.dot-notation jscs.requireDotNotation -> eslint.dot-notation
if (condition) { // doFoo }
Produces the following duplicate error:
jscs.requireBlocksOnNewline -> eslint.brace-style
jscs.disallowSpacesInFunctionDeclaration -> eslint.space-after-function-name
jscs.disallowMultipleLineBreaks -> eslint.no-multiple-empty-lines
error eslint 26:12 Strings must use singlequote. quotes
error jscs 26:12 Invalid quote mark found validateQuoteMarks
Since lint-trap supports 3 linters, there are some duplicate rules. When the same error is thrown by more than one linter, prefer eslint over jscs and jshint and prefer jscs over jshint.
Known duplicates:
If you find duplicate rules, please mention them in comments below.