import is only available in es6 jshint code example Example: esversion 9 "jshint.options": { "esversion": 9 }