mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
50d5316b1b
Summary: While verifying the lock deduplication changes, I have spotted that `eslint-plugin-jest` package does not match Jest version used within the workspace. ## Changelog: [INTERNAL][CHANGED] - update `eslint-plugin-jest` package in workspace to align with Jest version used Pull Request resolved: https://github.com/facebook/react-native/pull/53246 Test Plan: Running `yarn test`, `yarn lint-ci` and `test-typescript` checks does not yield any errors. Reviewed By: rshest, cortinico Differential Revision: D80170591 Pulled By: robhogan fbshipit-source-id: f3ac58bc26cf2d3a34899f8558f872b3df85942d
@react-native/eslint-config
Installation
yarn add --dev eslint prettier @react-native/eslint-config
Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like
Usage
Add to your eslint config (.eslintrc, or eslintConfig field in package.json):
{
"extends": "@react-native"
}