Open truh opened 8 years ago
I also have this error with the latest release of jslint. The indentation appears to be fixed at 4, where I prefer to use 2 spaces.
I tried restoring the indent option in JSLint.sublime-settings but this didn't work. I can't see what else has changed that would break this. Maybe jslint.js has changed?
JSLint version has changed according to #49. I described a workaround in #47.
what a pity!!!! I am unhappy now!!
It's not only about indentation. I use 4 spaces indentation. But so many errors are logged now I could even know how to report them to you.
I am happy to use the new version but how to change my settings file so that it start to work again.
Please log issues with JSLint and ask Doug Crockford to stop introducing build-breaking non-backwards compatible changes.
SublimeLinter-jslint uses node-jslint and doesn't have these issues. If I had installed Crockfords software I would have issued the bug report to him. But since I installed Sublime-JSLint and not jslint.js this is in my opinion the logical place to report to.
Sorry, but you did install jslint.js
- it's included in this package. Sublime-JSLint is simply a wrapper around JSLint and the objective is to keep it reasonably up-to-date with the latest version of JSLint. You're free to use whatever version of JSLint you want, though - it's easy to configure the plugin to point to another version of jslint
elsewhere on your system and not necessarily the built-in one. FWIW I agree that forcing a 4-space indent on everyone was not a good idea.
I now have hundreds of errors in all of my files which were yesterday passing with hardly any warnings.