Rename eslint-plugin-codegen to eslint-plugin-specs (#32698)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/32698

Changelog: [Internal] - Renaming the eslint-plugin-codegen to eslint-plugin-specs as a better descriptor for this package. Part of the plan is to publish as a public npm package

Reviewed By: RSNara

Differential Revision: D32777702

fbshipit-source-id: 7776c481871031dba1280d87fb76b777ecc23339
This commit is contained in:
Luna Wei
2021-12-02 20:47:12 -08:00
committed by Facebook GitHub Bot
parent 8e49658096
commit bfc6392e1a
9 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
],
"plugins": [
"@react-native/eslint-plugin-codegen"
"@react-native/eslint-plugin-specs"
],
"overrides": [
@@ -18,7 +18,7 @@
"@react-native-community/no-haste-imports": 2,
"@react-native-community/error-subclass-name": 2,
"@react-native-community/platform-colors": 2,
"@react-native/codegen/react-native-modules": 2
"@react-native/specs/react-native-modules": 2
}
},
{
@@ -1,12 +1,12 @@
{
"name": "@react-native/eslint-plugin-codegen",
"name": "@react-native/eslint-plugin-specs",
"version": "0.0.1",
"description": "ESLint rules to validate NativeModule and Component Specs",
"main": "index.js",
"repository": {
"type": "git",
"url": "git@github.com:facebook/react-native.git",
"directory": "packages/eslint-plugin-codegen"
"directory": "packages/eslint-plugin-specs"
},
"dependencies": {
"@babel/core": "^7.14.0",
@@ -24,7 +24,7 @@ const packageJson = JSON.parse(
const FILENAME = path.join(
os.tmpdir(),
`.eslint-plugin-codegen.${packageJson.version}.disk-cache.json`,
`.eslint-plugin-specs.${packageJson.version}.disk-cache.json`,
);
let data = {};