title: How to set jshint/jsxhint "esnext" option in Atom
body: <p>I am using Atom's <code>linter</code>, <code>react</code>, and <code>linter-jshint</code>/<code>linter-jsxhint</code>.
  In my JSX files, I keep getting the warning</p>
  
  <blockquote>
    <p>Warning: 'import' is only available in ES6 (use esnext option). (W119)</p>
  </blockquote>
  
  <p>That's pretty straightforward. I did some searching, and found that this can be set under the <code>jshintConfig</code> option in <code>package.json</code> (when using NPM). My project uses NPM and I have a <code>package.json</code>. I added:</p>
  
  <pre class="lang-json prettyprint-override"><code>"jshintConfig": {
    "esnext": true
  }
  </code></pre>
  
  <p>After that, I did a reload but the warnings persist. I also modified my <code>linter-jshint</code>/<code>linter-jsxhint</code> config in Atom (<code>config.cson</code>) with:</p>
  
  <pre class="lang-json prettyprint-override"><code>"linter-jshint":
    harmony: true
    esnext: true
  
  "linter-jsxhint":
    harmony: true
    esnext: true
  </code></pre>
  
  <p>And did a reload but that didn't help it either.</p>
  
  <p>So: when using <code>linter-jshint</code>/<code>linter-jsxhint</code> as Atom packages, how to I set the <code>esnext</code> option? </p>