mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50146 Upgrades React Native and Relay to `eslint-plugin-react-hooks` from v4.6.0 to v5.2.0. ([CHANGELOG](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md)) Changelog: [General][Breaking] Updated `eslint-config-react-native` to depend on `eslint-plugin-react-hooks` v5.2.0 from v4.6.0. This includes a breaking change in which ESLint will no longer recognize component names that start with 1 or more underscores followed by a capital letter. (https://github.com/facebook/react/pull/25162) Reviewed By: captbaritone Differential Revision: D71483664 fbshipit-source-id: 6c78e196a9ea8dca9c285cb43909cfe3749ddd28
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "@react-native/eslint-config",
|
|
"version": "0.80.0-main",
|
|
"description": "ESLint config for React Native",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/facebook/react-native.git",
|
|
"directory": "packages/eslint-config-react-native"
|
|
},
|
|
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native#readme",
|
|
"keywords": [
|
|
"eslint",
|
|
"config",
|
|
"react-native"
|
|
],
|
|
"bugs": "https://github.com/facebook/react-native/issues",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"main": "index.js",
|
|
"dependencies": {
|
|
"@babel/core": "^7.25.2",
|
|
"@babel/eslint-parser": "^7.25.1",
|
|
"@react-native/eslint-plugin": "0.80.0-main",
|
|
"@typescript-eslint/eslint-plugin": "^7.1.1",
|
|
"@typescript-eslint/parser": "^7.1.1",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-ft-flow": "^2.0.1",
|
|
"eslint-plugin-jest": "^27.9.0",
|
|
"eslint-plugin-react": "^7.30.1",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-react-native": "^4.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"eslint": ">=8",
|
|
"prettier": ">=2"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^8.57.0",
|
|
"prettier": "2.8.8"
|
|
}
|
|
}
|