Closed lando2319 closed 4 years ago
Hello,
Just discovered this package, looks to be what I am looking for, however I user the => command a lot and want to avoid getting the esversion warning.
=>
According to the doc I should be able to simply add a file ~/.jshintrc. I added the file like so:
~/.jshintrc
{ "esversion": 6 }
However I am still getting the warning and when opening a file I get the following warning.
Error detected while processing function <SNR>54_JSHint: line 84: E927: Invalid action: ''
So I got this working, here are the steps.
First the warning when opening vim looks to be related to this. As for getting esversion to work, I ended up with this which was not on the list of options on the Docs.
{ "esnext": true }
Hello,
Just discovered this package, looks to be what I am looking for, however I user the
=>
command a lot and want to avoid getting the esversion warning.According to the doc I should be able to simply add a file
~/.jshintrc
. I added the file like so:However I am still getting the warning and when opening a file I get the following warning.