I'm working on some ES6 javascript code, and linter-jshint
keeps throwing this error.
I tried looking up all JSHint options. At first I added {"esversion": 6}
to a .jshintrc file on my user directory. This was when the error started to appear. Then I tried going for the deprecated {"esnext": true}
. The error just changed to another one, so I went back.
This option should work, I don't get why it's showing this error. It's a valid option, isn't it?
By the way, I'm using Atom.
I had one line with
// jshint ignore:line //and wanted to add some more information in the comment
removing the additional comment fixed the error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With