Rename directory "eslint-config-react-native-community" (#37347)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37347 This fixes the file-structure of `eslint-config-react-native-communtiy`, and `eslint-plugin-react-native-communtiy` to match the name they were renamed to as part of 0.72. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D45721173 fbshipit-source-id: 7ad784dbf56fb4cd05d7dba608e6d5064392e43d
This commit is contained in:
Родитель
cae52f6cf8
Коммит
26983aed25
|
@ -21,7 +21,7 @@ module.exports = {
|
|||
plugins: ['@react-native/eslint-plugin-specs', 'lint'],
|
||||
|
||||
overrides: [
|
||||
// overriding the JS config from eslint-config-react-native-community config to ensure
|
||||
// overriding the JS config from @react-native/eslint-config to ensure
|
||||
// that we use hermes-eslint for all js files
|
||||
{
|
||||
files: ['*.js'],
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react-native.git",
|
||||
"directory": "packages/eslint-config-react-native-community"
|
||||
"directory": "packages/eslint-config-react-native"
|
||||
},
|
||||
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native-community#readme",
|
||||
"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": {
|
|
@ -1,6 +1,6 @@
|
|||
# @react-native/eslint-plugin
|
||||
|
||||
This plugin is intended to be used in [`@react-native/eslint-config`](https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native-community). You probably want to install that package instead.
|
||||
This plugin is intended to be used in [`@react-native/eslint-config`](https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native). You probably want to install that package instead.
|
||||
|
||||
## Installation
|
||||
|
||||
|
@ -31,4 +31,4 @@ Enforces that calls to `PlatformColor` and `DynamicColorIOS` are statically anal
|
|||
To run the tests in this package, run the following commands from the React Native root folder:
|
||||
|
||||
1. `yarn` to install the dependencies. You just need to run this once
|
||||
2. `yarn jest packages/eslint-plugin-react-native-community`.
|
||||
2. `yarn jest packages/eslint-plugin-react-native`.
|
|
@ -6,9 +6,9 @@
|
|||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react-native.git",
|
||||
"directory": "packages/eslint-plugin-react-native-community"
|
||||
"directory": "packages/eslint-plugin-react-native"
|
||||
},
|
||||
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-plugin-react-native-community#readme",
|
||||
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-plugin-react-native#readme",
|
||||
"keywords": ["eslint", "rules", "eslint-config", "react-native"],
|
||||
"bugs": "https://github.com/facebook/react-native/issues",
|
||||
"engines": {
|
Загрузка…
Ссылка в новой задаче