ESLint Parsing Error via Webpack as a preLoader: The keyword 'import' is reserved
<p>I know this has been asked before, and suggestions have been to use babel to transpile code, but I am running eslint to lint my code before transpilation via webpack, but I am getting:</p>

<blockquote>
  <p>Parsing error: The keyword 'import' is reserved</p>
</blockquote>

<p>Does anyone know of a way in which I can use the import/export syntax and run eslint? </p>

<p>The following is my webpack config, and eslintrc.json file:</p>

<pre><code>preLoaders: [
   {
   test: /\.jsx?$/,
   loader: 'eslint-loader',
   exclude: /node_modules/
   }
],

{
  "parser": "babel-eslint",
  "plugins": ["react"],
  "extends": ["standard", "standard-react"]
}
</code></pre>

<p>Thank you</p>