Skip to content

Commit

Permalink
Rename directory "eslint-config-react-native-community" (#37347)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #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
  • Loading branch information
NickGerleman authored and facebook-github-bot committed May 10, 2023
1 parent cae52f6 commit 26983ae
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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`.
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 26983ae

Please sign in to comment.