How to set jshint/jsxhint “esnext” option in Atom
问题 I am using Atom's linter , react , and linter-jshint / linter-jsxhint . In my JSX files, I keep getting the warning Warning: 'import' is only available in ES6 (use esnext option). (W119) That's pretty straightforward. I did some searching, and found that this can be set under the jshintConfig option in package.json (when using NPM). My project uses NPM and I have a package.json . I added: "jshintConfig": { "esnext": true } After that, I did a reload but the warnings persist. I also modified