title: linting error in imports
body: <p>I am getting various error regarding linting. All the errors are shown in first line of code. The importing way is not incorrect but still getting linting error. How should I fix the following errors?</p>
  <blockquote>
  <p>1:1   error  Definition for rule 'import/no-named-default' was not found      import/no-named-default</p>
  <p>1:1   error  Definition for rule 'react/jsx-tag-spacing' was not found        react/jsx-tag-spacing</p>
  <p>1:1   error  Definition for rule 'react/no-array-index-key' was not found     react/no-array-index-key</p>
  <p>1:1   error  Definition for rule 'react/require-default-props' was not found  react/require-default-props</p>
  </blockquote>
  <pre class="lang-js prettyprint-override"><code>import { createStore, applyMiddleware, compose } from 'redux';
  import thunk from 'redux-thunk';
  import rootReducer from './reducers';
  
  const enhancers = [applyMiddleware(thunk)];
  
  // If Redux DevTools Extension is installed use it, otherwise use Redux compose
  /* eslint-disable no-underscore-dangle */
  const composeEnhancers = process.env.NODE_ENV === 'development' &amp;&amp; typeof window === 'object' &amp;&amp; window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__
    ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__
    : compose;
  
  export default(initialState) =&gt; createStore(rootReducer, initialState, composeEnhancers(...enhancers));
  </code></pre>
  <p>here is eslint source</p>
  <pre><code>{
    &quot;parser&quot;: &quot;babel-eslint&quot;,
    &quot;extends&quot;: &quot;airbnb&quot;,
    &quot;env&quot;: {
      &quot;browser&quot;: true,
      &quot;node&quot;: true,
      &quot;jest&quot;: true,
      &quot;es6&quot;: true
    },
    &quot;plugins&quot;: [
      &quot;react&quot;,
      &quot;jsx-a11y&quot;
    ],
    &quot;parserOptions&quot;: {
      &quot;ecmaVersion&quot;: 6,
      &quot;sourceType&quot;: &quot;module&quot;,
      &quot;ecmaFeatures&quot;: {
        &quot;jsx&quot;: true
      }
    },
    &quot;rules&quot;: {
      &quot;import/imports-first&quot;: 0,
      &quot;import/newline-after-import&quot;: 0,
      &quot;import/no-dynamic-require&quot;: 0,
      &quot;import/no-extraneous-dependencies&quot;: 0,
      &quot;import/no-named-as-default&quot;: 0,
      &quot;import/no-unresolved&quot;: 2,
      &quot;import/prefer-default-export&quot;: 0,
      &quot;indent&quot;: [
        2,
        2,
        {
          &quot;SwitchCase&quot;: 1
        }
      ],
      &quot;jsx-a11y/aria-props&quot;: 2,
      &quot;jsx-a11y/heading-has-content&quot;: 0,
      &quot;jsx-a11y/href-no-hash&quot;: 2,
      &quot;jsx-a11y/label-has-for&quot;: 2,
      &quot;jsx-a11y/mouse-events-have-key-events&quot;: 2,
      &quot;jsx-a11y/role-has-required-aria-props&quot;: 2,
      &quot;jsx-a11y/role-supports-aria-props&quot;: 2,
      &quot;max-len&quot;: 0,
      &quot;newline-per-chained-call&quot;: 0,
      &quot;no-confusing-arrow&quot;: 0,
      &quot;no-console&quot;: 1,
      &quot;no-use-before-define&quot;: 0,
      &quot;prefer-template&quot;: 2,
      &quot;class-methods-use-this&quot;: 0,
      &quot;react/forbid-prop-types&quot;: 0,
      &quot;react/jsx-first-prop-new-line&quot;: [
        2,
        &quot;multiline&quot;
      ],
      &quot;react/jsx-filename-extension&quot;: 0,
      &quot;react/jsx-no-target-blank&quot;: 0,
      &quot;react/require-extension&quot;: 0,
      &quot;react/self-closing-comp&quot;: 0,
      &quot;require-yield&quot;: 0,
      &quot;import/no-webpack-loader-syntax&quot;: 0
    },
    &quot;settings&quot;: {}
  }
  </code></pre>