Skip to content

Commit 4e6bd45

Browse files
committed
Remove temporary codemod script
This reverts the codemod script and ESLint config I added temporarily in order to perform the invariant codemod.
1 parent a889e82 commit 4e6bd45

File tree

4 files changed

+0
-216
lines changed

4 files changed

+0
-216
lines changed

.eslintrc.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -249,16 +249,6 @@ module.exports = {
249249
TaskController: true,
250250
},
251251
},
252-
// TODO: I'm adding this plugin to the repo temporarily, but I'll revert it
253-
// in the same PR. That way we don't have to check it in but it's still
254-
// accessible (via the PR) if we need it later.
255-
{
256-
files: ['packages/**/*.js'],
257-
plugins: ['unused-imports'],
258-
rules: {
259-
'unused-imports/no-unused-imports': ERROR,
260-
},
261-
},
262252
],
263253

264254
globals: {

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
"eslint-plugin-no-function-declare-after-return": "^1.0.0",
6262
"eslint-plugin-react": "^6.7.1",
6363
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
64-
"eslint-plugin-unused-imports": "^1.1.5",
6564
"fbjs-scripts": "1.2.0",
6665
"filesize": "^6.0.1",
6766
"flow-bin": "0.97",

scripts/codemod-invariant.js

Lines changed: 0 additions & 197 deletions
This file was deleted.

yarn.lock

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6447,7 +6447,6 @@ [email protected]:
64476447

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

64526451
eslint-plugin-react@^6.7.1:
64536452
version "6.10.3"
@@ -6460,13 +6459,6 @@ eslint-plugin-react@^6.7.1:
64606459
jsx-ast-utils "^1.3.4"
64616460
object.assign "^4.0.4"
64626461

6463-
eslint-plugin-unused-imports@^1.1.5:
6464-
version "1.1.5"
6465-
resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-1.1.5.tgz#a2b992ef0faf6c6c75c3815cc47bde76739513c2"
6466-
integrity sha512-TeV8l8zkLQrq9LBeYFCQmYVIXMjfHgdRQLw7dEZp4ZB3PeR10Y5Uif11heCsHRmhdRIYMoewr1d9ouUHLbLHew==
6467-
dependencies:
6468-
eslint-rule-composer "^0.3.0"
6469-
64706462
eslint-rule-composer@^0.3.0:
64716463
version "0.3.0"
64726464
resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9"

0 commit comments

Comments
 (0)