{"action":"closed","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/664","repository_url":"https://api.github.com/repos/AtomLinter/linter-eslint","labels_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/664/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/664/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/664/events","html_url":"https://github.com/AtomLinter/linter-eslint/issues/664","id":170480015,"number":664,"title":"Better experience for `create-react-app` projects","user":{"login":"AsaAyers","id":324999,"avatar_url":"https://avatars.githubusercontent.com/u/324999?v=3","gravatar_id":"","url":"https://api.github.com/users/AsaAyers","html_url":"https://github.com/AsaAyers","followers_url":"https://api.github.com/users/AsaAyers/followers","following_url":"https://api.github.com/users/AsaAyers/following{/other_user}","gists_url":"https://api.github.com/users/AsaAyers/gists{/gist_id}","starred_url":"https://api.github.com/users/AsaAyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsaAyers/subscriptions","organizations_url":"https://api.github.com/users/AsaAyers/orgs","repos_url":"https://api.github.com/users/AsaAyers/repos","events_url":"https://api.github.com/users/AsaAyers/events{/privacy}","received_events_url":"https://api.github.com/users/AsaAyers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-10T18:01:35Z","updated_at":"2016-09-09T17:59:51Z","closed_at":"2016-09-09T17:59:51Z","body":"![selection_002](https://cloud.githubusercontent.com/assets/324999/17562775/2685bc92-5ee1-11e6-88fa-e40e4bc93434.png)\r\n\r\nWhen you create a project with `create-react-app` it comes with eslint preconfigured in a way that doesn't work with editors. `package.json` contains `\"eslintConfig\": { \"extends\": \"./node_modules/react-scripts/config/eslint.js\"  }` and because of how eslint resolves modules, this configuration only works if it's run from the instance of eslint installed at `./node_modules/react-scripts/node_modules/eslint`\r\n\r\nMy attempt at fixing this in eslint [has been rejected](https://github.com/eslint/eslint/pull/6865#issuecomment-238923390), so now I'm here just trying to find a way to still use Atom on these projects. So far my ideas are:\r\n\r\n1. If these errors can be suppressed then Atom is usable but missing any linting errors.\r\n2. [WARNING: hack] If [getESLintInstance](https://github.com/AtomLinter/linter-eslint/blob/dd11d264d2424fa357d7f08d7687e41a7461661a/src/worker-helpers.js#L65-L69) also checks `\r\nnode_modules/react-scripts/node_modules/eslint` it prevents the error, but that's only going to work in this one scenario."}}
{"actor":{"display_login":"Arcanemagus"}}