{"name":"eslint-config-react-app","version":"1.0.0-alpha.134d2297","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.2.3","eslint":"^3.19.0","eslint-plugin-flowtype":"^2.33.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^5.0.1","eslint-plugin-react":"^7.0.1"},"homepage":"https://github.com/facebookincubator/create-react-app#readme","_id":"eslint-config-react-app@1.0.0-alpha.134d2297","scripts":{},"_shasum":"755fef2a9cb3aae44aae5ba8c541333a12245717","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"755fef2a9cb3aae44aae5ba8c541333a12245717","tarball":"http://registry-npm.ywwl.com/eslint-config-react-app/download/eslint-config-react-app-1.0.0-alpha.134d2297.tgz","integrity":"sha512-PUmRiCMoh66HCmpdq3f7bQYb6OD5rmwd736K6og6u2lF+eEmPhIRSbGg63NZA4D7vs5Ed/nzLZ6LiZmWvbCqjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvmHePJxNSDSI6UX567wOxqVUqOF3ZcHpKhLNr7UAYCQIgW1xYzjfZ0nvNLmXm9RxW346aeIoPjhtKZXw4J+x58gw="}],"size":4603,"noattachment":false,"key":"/eslint-config-react-app/-/eslint-config-react-app-1.0.0-alpha.134d2297.tgz"},"maintainers":[{"name":"fson","email":"ville.immonen@iki.fi"},{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"timer","email":"timer150@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/eslint-config-react-app-1.0.0-alpha.134d2297.tgz_1494947423547_0.9708800681401044"},"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":1494947425429,"_cnpm_publish_time":1494947425429,"dist-tags":{"canary":"5.1.0-next.61","latest":"7.0.1","next":"7.1.0-next.26"}}