{"_id":"@djhojd/eslint-config-react-app","_rev":"1-3534b1e2df633293a2eb6c85af9c064f","name":"@djhojd/eslint-config-react-app","dist-tags":{"latest":"15.0.0"},"versions":{"15.0.0":{"name":"@djhojd/eslint-config-react-app","version":"15.0.0","description":"ESLint configuration used by Create React App","repository":{"type":"git","url":"git+https://github.com/facebook/create-react-app.git","directory":"packages/eslint-config-react-app"},"license":"MIT","bugs":{"url":"https://github.com/facebook/create-react-app/issues"},"peerDependencies":{"eslint":"^7.30.0"},"dependencies":{"@babel/core":"7.14.2","@babel/eslint-parser":"^7.14.7","@rushstack/eslint-patch":"^1.0.6","@typescript-eslint/eslint-plugin":"^4.0.0","@typescript-eslint/parser":"^4.0.0","babel-preset-react-app":"^10.0.0","confusing-browser-globals":"^1.0.10","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.22.0","eslint-plugin-jest":"^24.0.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-react":"^7.20.3","eslint-plugin-react-hooks":"^4.0.8","eslint-plugin-testing-library":"^3.9.0"},"engines":{"node":">=14.0.0"},"homepage":"https://github.com/facebook/create-react-app#readme","_id":"@djhojd/eslint-config-react-app@15.0.0","_nodeVersion":"14.17.0","_npmVersion":"7.20.0","dist":{"integrity":"sha512-d//fmjsVbBJs600TSzgK/65C4hSyn6KRExxKM2cSD0CUuz3nyOTzFByLIw7Cgmedo+39/ya0qVEjWLgQMzZJLw==","shasum":"2fcfd8745e2f386df28b9545f2c1797a2b7ba414","tarball":"https://registry.npmjs.org/@djhojd/eslint-config-react-app/-/eslint-config-react-app-15.0.0.tgz","fileCount":7,"unpackedSize":19671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/dQ/CRA9TVsSAnZWagAACCAP/iQNr1wkMZ6N+dd5mPbj\nNjE5cy6un4ei/hngonpdXED+cj9SFiz6HePoVuhO/D6HrTrbY9XCX3ePtLoW\n3VwR4mdOPTyMGv3JyJt/0yuEpXNsSDR+5/jDSAzsMGiNy1KFe4ezJXI0CePU\nmfWHDiaLN0OPpfmD8vK6UpJSclvrlx63fRYJcMBDbRDlZndVsdUtMUfA+Z1y\nG9dQJKYRJp/64lRrDtfD9QoRI7Z5hxM4WlrTF8B2lApXDryqdKA7Z5x27rY7\nkp8fsMjLw3du6Iw/z/7R/WiZI3AoKKo8acxgWzRg3ujC7uol2JAasOfLhTi9\nyGDf/kDaGNvPl4JZPgK3crTThcua8IkEfxRjwasFyVWD08RstTDzgXqULbrt\nIDnVx2ebUFozxm0u1/wZLOCf6mrBtkU3ryzZKpiXzRVn9jlE0PYShjQ4gOH5\nhOkTS8lGHWC5mA3hclSx20paR8szBtTFRozDYnZ/J+vh7JVnkKpvqHvOhjWH\nUNnlJ2DFEh6UsZcTKdu50Gep6F+/NMFlkjsjV4FMFeyO9AZISxZ4YgYTTbeY\nnNnsMhqpJnSlt3gAwGiJ3eCQQfMacg8duhGa0kdIrt7tDi8Lvzb+2fcvzs2k\nJT6Intl6d6VuMTJFE0vP8PrOsONA+H1oWu050B7BhOEcspnocF2/PV1ZJCh9\nRmIq\r\n=DA6i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBo6rtBjjYngWfbQ4aZVDQ45gp7pQ4Lpf6BnO75CaaZFAiBHzkci0q0NXHEvPxH8ON8Z7EMUmSDSBofZZsX3W1/WbA=="}]},"_npmUser":{"name":"djhojd","email":"djhojd@gmail.com"},"directories":{},"maintainers":[{"name":"djhojd","email":"djhojd@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-react-app_15.0.0_1627247679521_0.3058757962468077"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-25T21:14:39.474Z","15.0.0":"2021-07-25T21:14:39.666Z","modified":"2022-04-05T04:50:22.946Z"},"maintainers":[{"name":"djhojd","email":"djhojd@gmail.com"}],"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","directory":"packages/eslint-config-react-app"},"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://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, ESLint and the necessary plugins. Note that when using npm 7 (or greater) this step is not required, as npm will automatically install peer dependencies.\n\n```sh\nnpm install --save-dev eslint-config-react-app @babel/eslint-parser@^7.14.7 @typescript-eslint/eslint-plugin@^4.0.0 @typescript-eslint/parser@^4.0.0 babel-preset-react-app@^10.0.0 eslint@^7.5.0 eslint-plugin-flowtype@^5.2.0 eslint-plugin-import@^2.22.0 eslint-plugin-jsx-a11y@^6.3.1 eslint-plugin-react@^7.20.3 eslint-plugin-react-hooks@^4.0.8\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'll first need to add the ESLint plugin for Jest (if you don't already have it installed).\n\n```sh\nnpm install --save-dev eslint-plugin-jest@^24.0.0 eslint-plugin-testing-library@^3.9.0\n```\n\nYou can then 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","readmeFilename":"README.md"}