title: Unable to get eslint working in Atom Editor
body: <p>I'm totally lost at this point on how to get ESLint to install and function using Atom. So I'm going to post a step by step and would be really awesome if someone could help be get this working. </p>
  
  <ul>
  <li>Atom: 1.19.5</li>
  <li>Atom, linter 2.2.0</li>
  <li>Atom, linter-eslint 8.2.1</li>
  </ul>
  
  <p>I've uninstalled and reinstalled the Atom plugins and have disabled all other plugins besides those in Core and the 2 linters.</p>
  
  <ul>
  <li><code>npm list -g --depth=0</code></li>
  </ul>
  
  <p>All Global Installs:</p>
  
  <pre><code>├── create-react-app@1.0.4
  ├── create-react-native-app@1.0.0
  ├── eslint@4.6.1
  ├── express-generator@4.14.1
  ├── json-server@0.9.5
  ├── mocha@3.2.0
  ├── nodemon@1.11.0
  ├── npm@3.10.10
  ├── pushstate-server@2.2.1
  ├── react-native-cli@2.0.1
  ├── react-vr-cli@0.3.5
  ├── webpack@2.2.1
  ├── webpack-dev-server@2.3.0
  └── yarn@0.21.3
  </code></pre>
  
  <p>These are the attempted steps I've done to get eslint to work in my Atom project:</p>
  
  <ul>
  <li><code>npm install -g eslint</code></li>
  <li><code>cd /into/project</code></li>
  <li><code>eslint --init</code></li>
  <li><code>? How would you like to configure ESLint? &gt; User a popular style guide</code></li>
  <li><code>? Which style guide do you want to follow? &gt;Airbnb</code></li>
  <li><code>? Do you use React? &gt; y</code></li>
  <li><code>? What format do you want your config file to be in? &gt; JSON</code></li>
  <li>Delete <code>/node_modules</code></li>
  <li><p><code>npm install</code></p>
  
  <p>/project
    /node_modules
    .eslintrc.json
    index.js
    package.json</p></li>
  </ul>
  
  <p><strong>.eslintrc.json</strong></p>
  
  <pre><code>{
    "extends": "airbnb"
  }
  </code></pre>
  
  <p><strong>package.json</strong></p>
  
  <pre><code>{
    "name": "lint-test",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts": {
      "test": "echo \"Error: no test specified\" &amp;&amp; exit 1"
    },
    "author": "",
    "license": "ISC",
    "devDependencies": {
      "eslint": "^4.6.1",
      "eslint-config-airbnb": "^15.1.0",
      "eslint-config-rallycoding": "^3.2.0",
      "eslint-plugin-import": "^2.7.0",
      "eslint-plugin-jsx-a11y": "^5.1.1",
      "eslint-plugin-react": "^7.3.0"
    }
  }
  </code></pre>
  
  <p><strong>index.js</strong></p>
  
  <p>This is just a file trying to get some type of results from <code>eslint</code></p>
  
  <p><strong>Errors</strong></p>
  
  <p>[Linter] Error running ESLint (Open developer console)</p>
  
  <p><code>Configuration for rule "jsx-a11y/anchor-has-content" is invalid: Value "[object Object]" no (or more than one) schemas match.</code></p>
  
  <ul>
  <li>So went to <a href="https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/168" rel="nofollow noreferrer">eslint-plugin-jsx #168</a></li>
  </ul>
  
  <p>No errors are appearing in the Atom developer console. But also nothing is happening with the Linter in the Atom editor. I can type gibberish and nothing happens.</p>
  
  <p><strong>Running Debug</strong></p>
  
  <ul>
  <li><code>DEBUG=eslint:* eslint .</code></li>
  </ul>
  
  <p>Debug results:</p>
  
  <pre><code>Cannot find module 'eslint-config-airbnb'
  Referenced from: /Users/user/development/lint-test/.eslintrc.json
  Error: Cannot find module 'eslint-config-airbnb'
  Referenced from: /Users/user/development/lint-test/.eslintrc.json
  at ModuleResolver.resolve (/Users/user/.nvm/versions/node/v6.9.5/lib/node_modules/eslint/lib/util/module-resolver.js:74:19)
  at resolve (/Users/user/.nvm/versions/node/v6.9.5/lib/node_modules/eslint/lib/config/config-file.js:515:25)
  at load (/Users/user/.nvm/versions/node/v6.9.5/lib/node_modules/eslint/lib/config/config-file.js:584:26)
  at configExtends.reduceRight.e (/Users/user/.nvm/versions/node/v6.9.5/lib/node_modules/eslint/lib/config/config-file.js:421:36)
  at Array.reduceRight (native)
  at applyExtends (/Users/user/.nvm/versions/node/v6.9.5/lib/node_modules/eslint/lib/config/config-file.js:403:28)
  at loadFromDisk (/Users/user/.nvm/versions/node/v6.9.5/lib/node_modules/eslint/lib/config/config-file.js:556:22)
  at Object.load (/Users/user/.nvm/versions/node/v6.9.5/lib/node_modules/eslint/lib/config/config-file.js:592:20)
  at Config.getLocalConfigHierarchy (/Users/user/.nvm/versions/node/v6.9.5/lib/node_modules/eslint/lib/config.js:226:44)
  at Config.getConfigHierarchy (/Users/user/.nvm/versions/node/v6.9.5/lib/node_modules/eslint/lib/config.js:180:43)
  </code></pre>
  
  <p>At this point I'm assuming it's trying to read from the global not local</p>
  
  <ul>
  <li><a href="https://github.com/airbnb/javascript/issues/465" rel="nofollow noreferrer">eslint eslint-config-airbnb error #465</a></li>
  <li>updated <code>.eslintrc.json</code> to <code>"extends": "eslint-config-airbnb",</code></li>
  </ul>
  
  <p>Now again nothing is happening, run debug again</p>
  
  <ul>
  <li><code>DEBUG=eslint:* eslint .</code></li>
  </ul>
  
  <p>Still can't find the module</p>
  
  <ul>
  <li>Try suggestions in <a href="http://www.acuriousanimal.com/2016/08/14/configuring-atom-with-eslint.html" rel="nofollow noreferrer">Configuring Atom editor with eslint</a></li>
  </ul>
  
  <p>At this point I'm still running into <code>Cannot find module 'eslint-config-airbnb'</code></p>
  
  <ul>
  <li>Followed <a href="https://www.npmjs.com/package/eslint-config-airbnb" rel="nofollow noreferrer">npm eslint-config-airbnb</a></li>
  <li>ran all the commands</li>
  </ul>
  
  <p><strong>New local package.json</strong></p>
  
  <pre><code>"devDependencies": {
    "eslint": "^4.6.1",
    "eslint-config-airbnb": "^15.1.0",
    "eslint-plugin-import": "^2.7.0",
    "eslint-plugin-jsx-a11y": "^5.1.1",
    "eslint-plugin-react": "^7.3.0"
  }
  </code></pre>
  
  <ul>
  <li><code>npm install -g eslint-config-airbnb</code></li>
  </ul>
  
  <p><strong>New Global Modules</strong> </p>
  
  <pre><code>├── create-react-app@1.0.4
  ├── create-react-native-app@1.0.0
  ├── eslint@4.6.1
  ├── eslint-config-airbnb@15.1.0
  ├── eslint-plugin-import@2.7.0
  ├── UNMET PEER DEPENDENCY eslint-plugin-jsx-a11y@6.0.2
  ├── eslint-plugin-react@7.3.0
  ├── express-generator@4.14.1
  ├── install-peerdeps@1.1.3
  ├── json-server@0.9.5
  ├── mocha@3.2.0
  ├── nodemon@1.11.0
  ├── npm@3.10.10
  ├── pushstate-server@2.2.1
  ├── react-native-cli@2.0.1
  ├── react-vr-cli@0.3.5
  ├── webpack@2.2.1
  ├── webpack-dev-server@2.3.0
  └── yarn@0.21.3
  </code></pre>
  
  <p>So now I can run <code>DEBUG=eslint:* eslint .</code> and can get some results. However nothing ever runs in Atom.</p>
  
  <p>Results:</p>
  
  <pre><code>/Users/user/development/lint-test/index.js
    1:1   error  Definition for rule 'jsx-a11y/href-no-hash' was not found  jsx-a11y/href-no-hash
    1:7   error  'config' is assigned a value but never used                no-unused-vars
    1:24  error  Unable to resolve path to module '../something'            import/no-unresolved
    1:39  error  Missing semicolon                                          semi
  
  ✖ 4 problems (4 errors, 0 warnings)
    1 error, 0 warnings potentially fixable with the `--fix` option.
  </code></pre>
  
  <p>At this point I'm out of ideas on how to get Atom to actually work with eslint...</p>