Skip to content

Commit

Permalink
Rename eslint-plugin-codegen to eslint-plugin-specs (facebook#32698)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#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
  • Loading branch information
Luna Wei authored and facebook-github-bot committed Dec 3, 2021
1 parent 8e49658 commit bfc6392
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],

"plugins": [
"@react-native/eslint-plugin-codegen"
"@react-native/eslint-plugin-specs"
],

"overrides": [
Expand All @@ -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
}
},
{
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -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": "[email protected]:facebook/react-native.git",
"directory": "packages/eslint-plugin-codegen"
"directory": "packages/eslint-plugin-specs"
},
"dependencies": {
"@babel/core": "^7.14.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};
Expand Down

0 comments on commit bfc6392

Please sign in to comment.