{"_id":"@brunolemos/eslint-config-react-app","_rev":"1-31849d04e21d052f099176111fc24f6c","name":"@brunolemos/eslint-config-react-app","dist-tags":{"latest":"3.0.6"},"versions":{"3.0.6":{"name":"@brunolemos/eslint-config-react-app","version":"3.0.6","description":"ESLint configuration used by Create React App","repository":{"type":"git","url":"git+https://github.com/facebook/create-react-app.git"},"license":"MIT","bugs":{"url":"https://github.com/facebook/create-react-app/issues"},"peerDependencies":{"babel-eslint":"9.x","eslint":"5.x","eslint-plugin-flowtype":"2.x","eslint-plugin-import":"2.x","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-react":"7.x"},"dependencies":{"confusing-browser-globals":"@brunolemos/confusing-browser-globals"},"homepage":"https://github.com/facebook/create-react-app#readme","_id":"@brunolemos/eslint-config-react-app@3.0.6","_npmVersion":"6.4.1","_nodeVersion":"8.11.4","_npmUser":{"name":"brunolemos","email":"bruno@brunolemos.org"},"dist":{"integrity":"sha512-xNzioOu+ENRtHnXNrLO+CdswGW8lELu6ml4/1Zt9a2RfsWsV78GPvM/1Frng/usiU11DmEg62obNe6NSowVIHw==","shasum":"eb8718abd9a9e738fc97b1195943de1ef0b93893","tarball":"https://registry.npmjs.org/@brunolemos/eslint-config-react-app/-/eslint-config-react-app-3.0.6.tgz","fileCount":4,"unpackedSize":13625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbz1wHCRA9TVsSAnZWagAA4WcQAIxuTNQ3+balbyahdvEw\nHuV1+n7YH27oj4/cOUy5XYAbU+Lif5RRgpvF33xl+bEGWpVb8FR8BHJs4buc\n/prBu8ABlQoVGSg8KcfZG+S9K9ZMqoHxJnLpZ/NAAgJNlKmoAlTQg1Sn/hLL\nrqY0IxEVucSRUv3Tke0GcQ7trw7m1oJtNvqLzkRkkg1xJnyhCoEwA+38Y2uf\nUGqMbaYC4UDHqS5hJPpgGEpaMLe3b8xUBFCMVfTjMxi2J/ZOYIw3MEek/5fF\n0vw4UWPsXeEEDPazXClvCqslCkj3Ldd+DgfIGhqomPCCFr6z3qgm/c+kI/Uj\nR6qO9FvRtOebYw8AeCxmQ70NItds/6JbWZysGCHSaCy1/Ib9n2ANxrcX/zqD\n9myIogPPtOEROKOlTa4LDVOvdzlUnGlw98erA6PsA3+qtSQOOhrgBKUX+RU1\nwXA/MUYy+H1abh2FSZzadGJkkpQkUe3CzTVt9yV6AjG7unrGyhe7OP9PoGrn\nxB2aINHb7mmX0VQltI63yCmsy00rLW7ND2kWTsa0uCQ+NHW+qNid9Ax8Vddj\nQXYCGXWqbJ2c8W3m+RO+FdontF4AY9awP/+jb1i4yFkbiEtkXtkwRPDkxMI1\nbJ46pCfdVOeGGJL62PWj/6XfLwUNAtn5ekhwikKLWBoqzf0hmsqf3wKTikME\np8o/\r\n=eLhK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrKwHyjIF6M1XANoPFsFrIVubk4voYynQo5XGEhY+x8QIhAPSHMy+hJ98UUxjLRViqJRBPWm+Rw4JJuXNU7Vb92l5a"}]},"maintainers":[{"name":"brunolemos","email":"bruno@brunolemos.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-react-app_3.0.6_1540316165962_0.8300639673501233"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-23T17:36:05.795Z","3.0.6":"2018-10-23T17:36:06.596Z","modified":"2022-04-04T20:49:25.306Z"},"maintainers":[{"name":"brunolemos","email":"bruno@brunolemos.org"}],"description":"ESLint configuration used by Create React App","homepage":"https://github.com/facebook/create-react-app#readme","repository":{"type":"git","url":"git+https://github.com/facebook/create-react-app.git"},"bugs":{"url":"https://github.com/facebook/create-react-app/issues"},"license":"MIT","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://github.com/facebook/create-react-app/blob/master/README.md#getting-started) – How to create a new app.\n- [User Guide](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md) – 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 following steps.\n\nFirst, install this package, ESLint and the necessary plugins.\n\n```sh\nnpm install --save-dev eslint-config-react-app babel-eslint@9.x eslint@5.x eslint-plugin-flowtype@2.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-react@7.x\n```\n\nThen create a file named `.eslintrc` with following contents in the root folder of your project:\n\n```js\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` file. Learn more about [configuring ESLint](http://eslint.org/docs/user-guide/configuring) on the ESLint website.\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- [accessible-emoji](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/accessible-emoji.md)\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` 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://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#displaying-lint-output-in-the-editor), but not in the browser or the terminal.\n","readmeFilename":"README.md"}