{"name":"eslint-config-react-app","version":"0.3.0-alpha.e756d73a","description":"ESLint configuration used by Create React App","repository":{"type":"git","url":"git+https://github.com/facebookincubator/create-react-app.git"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/facebookincubator/create-react-app/issues"},"files":["index.js"],"peerDependencies":{"babel-eslint":"7.0.0","eslint":"3.8.1","eslint-plugin-flowtype":"2.21.0","eslint-plugin-import":"2.0.1","eslint-plugin-jsx-a11y":"2.2.3","eslint-plugin-react":"6.4.1"},"homepage":"https://github.com/facebookincubator/create-react-app#readme","_id":"eslint-config-react-app@0.3.0-alpha.e756d73a","scripts":{},"_shasum":"ac0f6c0e7ee0196599a3a135aa7f040b2502583f","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.1","_npmUser":{"name":"fson","email":"ville.immonen@iki.fi"},"dist":{"shasum":"ac0f6c0e7ee0196599a3a135aa7f040b2502583f","tarball":"http://registry-npm.ywwl.com/eslint-config-react-app/download/eslint-config-react-app-0.3.0-alpha.e756d73a.tgz","integrity":"sha512-QO1MPzeHakW71GdFQoRfxz0W5ZJoCFPK6ttglZFL2x6XYY9n8ueQlkgw5xde4m7d0HQ0/qE7W8WHCEwYAQp/rA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCG6fHOGoXXykXNpco6OWWlvRR4bv/SlEfzAcTvZO1EiwIhAMlB1A4ANS7uCA5rLyrECgivB7aNScsnzj4ZcyGzl7xq"}],"size":3525,"noattachment":false,"key":"/eslint-config-react-app/-/eslint-config-react-app-0.3.0-alpha.e756d73a.tgz"},"maintainers":[{"name":"fson","email":"ville.immonen@iki.fi"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/eslint-config-react-app-0.3.0-alpha.e756d73a.tgz_1477775823435_0.9822815945371985"},"directories":{},"readme":"# eslint-config-react-app\n\nThis package includes the shareable ESLint configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>\nPlease refer to its documentation:\n\n- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.\n- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.\n\n## Usage in Create React App Projects\n\nThe easiest way to use this configuration is with [Create React App](https://github.com/facebook/create-react-app), which includes it by default.\n\n**You don’t need to install it separately in Create React App projects.**\n\n## Usage Outside of Create React App\n\nIf you want to use this ESLint configuration in a project not built with Create React App, you can install it with the following steps.\n\nFirst, install this package and ESLint.\n\n```sh\nnpm install --save-dev eslint-config-react-app eslint@^8.0.0\n```\n\nThen create a file named `.eslintrc.json` with following contents in the root folder of your project:\n\n```json\n{\n  \"extends\": \"react-app\"\n}\n```\n\nThat's it! You can override the settings from `eslint-config-react-app` by editing the `.eslintrc.json` file. Learn more about [configuring ESLint](https://eslint.org/docs/user-guide/configuring) on the ESLint website.\n\n## Jest rules\n\nThis config also ships with optional Jest rules for ESLint (based on [`eslint-plugin-jest`](https://github.com/jest-community/eslint-plugin-jest)).\n\nYou can enable these rules by adding the Jest config to the `extends` array in your ESLint config.\n\n```json\n{\n  \"extends\": [\"react-app\", \"react-app/jest\"]\n}\n```\n\n## Accessibility Checks\n\nThe following rules from the [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) plugin are activated:\n\n- [alt-text](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/alt-text.md)\n- [anchor-has-content](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-has-content.md)\n- [aria-activedescendant-has-tabindex](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-activedescendant-has-tabindex.md)\n- [aria-props](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-props.md)\n- [aria-proptypes](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-proptypes.md)\n- [aria-role](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-role.md)\n- [aria-unsupported-elements](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-unsupported-elements.md)\n- [heading-has-content](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/heading-has-content.md)\n- [href-no-hash](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/v5.1.1/docs/rules/href-no-hash.md)\n- [iframe-has-title](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/iframe-has-title.md)\n- [img-redundant-alt](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/img-redundant-alt.md)\n- [no-access-key](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-access-key.md)\n- [no-distracting-elements](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-distracting-elements.md)\n- [no-redundant-roles](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-redundant-roles.md)\n- [role-has-required-aria-props](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-has-required-aria-props.md)\n- [role-supports-aria-props](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-supports-aria-props.md)\n- [scope](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/scope.md)\n\nIf you want to enable even more accessibility rules, you can create an `.eslintrc.json` file in the root of your project with this content:\n\n```json\n{\n  \"extends\": [\"react-app\", \"plugin:jsx-a11y/recommended\"],\n  \"plugins\": [\"jsx-a11y\"]\n}\n```\n\nHowever, if you are using [Create React App](https://github.com/facebook/create-react-app) and have not ejected, any additional rules will only be displayed in the [IDE integrations](https://facebook.github.io/create-react-app/docs/setting-up-your-editor#displaying-lint-output-in-the-editor), but not in the browser or the terminal.\n","publish_time":1477775823985,"_cnpm_publish_time":1477775823985,"dist-tags":{"canary":"5.1.0-next.61","latest":"7.0.1","next":"7.1.0-next.26"}}