Closed ricardofbarros closed 9 years ago
Btw the version of standard-engine
inside semistandard
is 2.0.7
. Maybe this issue is already solved on the latest releases.
Probably worth updating and checking!
Yup, updating manually to 2.2.0
fixed this issue. Hmm okay, I'm going to close this issue and will do some mechanism to check new updates and update linter-js-standard
dependencies (standard, semistandard, etc.) dependencies (standard-engine, etc.)
The node API has a different outcome from the CLI.
For instance, take this piece of code as proof of this strange behaviour:
If I run the semistandard's CLI I get the following errors:
But If I run the
.lintText()
I get this:Only 3 errors instead of the expected 4 errors. This issue was found out by @JGAntunes
node.js API -
lintText()
code: