{"name":"eslint-config-react-app","version":"0.3.0-alpha.9c45b252","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.9c45b252","scripts":{},"_shasum":"f3ce982af3ed0701079831c02acb167c6e30cdb3","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.9.1","_npmUser":{"name":"fson","email":"ville.immonen@iki.fi"},"dist":{"shasum":"f3ce982af3ed0701079831c02acb167c6e30cdb3","tarball":"http://registry-npm.ywwl.com/eslint-config-react-app/download/eslint-config-react-app-0.3.0-alpha.9c45b252.tgz","integrity":"sha512-0W2urLt3DssKDLmrjmNzW4hJISUkIpFmzfc1F88paA4Rs3m57NGJAaGXZh9SD3CTgCy+Bj1iqRGmlGT+OhX5Ew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEgdZxL0mTtemaZBiZ+Rg+OKOJ6n1w5mlmQjAgvm/meWAiEAw+gPkyl8zTdqhWZ5SyAl3gPuj095AWzAd5bArfS/en4="}],"size":3454,"noattachment":false,"key":"/eslint-config-react-app/-/eslint-config-react-app-0.3.0-alpha.9c45b252.tgz"},"maintainers":[{"name":"fson","email":"ville.immonen@iki.fi"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/eslint-config-react-app-0.3.0-alpha.9c45b252.tgz_1479815991556_0.46759555279277265"},"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":1479815993583,"_cnpm_publish_time":1479815993583,"dist-tags":{"canary":"5.1.0-next.61","latest":"7.0.1","next":"7.1.0-next.26"}}