Closed Arcanemagus closed 8 years ago
Really? Interesting, it doesn't show the same error in the output and the rules are entirely different so I assumed it was a different bug.
Yeah, different representation of the same thing, everything would work correctly with the -x
flag aka enabled autofix though
When running
jscs
v3.0.3 against this file:example2.js
:With this configuration:
.jshintrc
:JSCS is reporting the
requireSemicolons
error on line 3 instead of line 2. I get the same results when running on the CLI with the default and JSON reporters, as well as when using the Node API (Inside thelinter-jscs
Atom package).Note that this was initially filed as https://github.com/AtomLinter/linter-jscs/issues/241.
A folder with a minimal reproduction case is included here: linter-jscs_GH241.zip
If there is any further information you need just let me know.