Skip to content

Commit

Permalink
Remove temporary codemod script
Browse files Browse the repository at this point in the history
This reverts the codemod script and ESLint config I added temporarily
in order to perform the invariant codemod.
  • Loading branch information
acdlite committed Sep 26, 2021
1 parent ae033c5 commit 442dc4d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 216 deletions.
10 changes: 0 additions & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,16 +249,6 @@ module.exports = {
TaskController: true,
},
},
// TODO: I'm adding this plugin to the repo temporarily, but I'll revert it
// in the same PR. That way we don't have to check it in but it's still
// accessible (via the PR) if we need it later.
{
files: ['packages/**/*.js'],
plugins: ['unused-imports'],
rules: {
'unused-imports/no-unused-imports': ERROR,
},
},
],

globals: {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"eslint-plugin-no-function-declare-after-return": "^1.0.0",
"eslint-plugin-react": "^6.7.1",
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
"eslint-plugin-unused-imports": "^1.1.5",
"fbjs-scripts": "1.2.0",
"filesize": "^6.0.1",
"flow-bin": "0.97",
Expand Down
197 changes: 0 additions & 197 deletions scripts/codemod-invariant.js

This file was deleted.

8 changes: 0 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6447,7 +6447,6 @@ eslint-plugin-no-unsanitized@3.1.2:

"eslint-plugin-react-internal@link:./scripts/eslint-rules":
version "0.0.0"
uid ""

eslint-plugin-react@^6.7.1:
version "6.10.3"
Expand All @@ -6460,13 +6459,6 @@ eslint-plugin-react@^6.7.1:
jsx-ast-utils "^1.3.4"
object.assign "^4.0.4"

eslint-plugin-unused-imports@^1.1.5:
version "1.1.5"
resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-1.1.5.tgz#a2b992ef0faf6c6c75c3815cc47bde76739513c2"
integrity sha512-TeV8l8zkLQrq9LBeYFCQmYVIXMjfHgdRQLw7dEZp4ZB3PeR10Y5Uif11heCsHRmhdRIYMoewr1d9ouUHLbLHew==
dependencies:
eslint-rule-composer "^0.3.0"

eslint-rule-composer@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9"
Expand Down

0 comments on commit 442dc4d

Please sign in to comment.