javascript - JSHint in my vim marks 'yield' as a warning. -
i'm writing mocha tests , using vim jshint. unfortunately jshints gives me lot of warnings due 'yield' keyword.
'yield' available in es6 (use 'esversion: 6') or mozilla js extensions (use moz).
this warning w118 , have tried disable warning in .jshintrc file
{ "mocha": true, "-w118": true }
but far unsuccesfull in hiding warning. ideas why? have read documentation , don't want use inline configuration.
Comments
Post a Comment