[eslint-plugin] Remove fbt dependencies
I incorrectly included these as deps, we were only using these to verify codegen. It seems fine to leave in but when I imported it internally vscode would error, so just remove it
Lauren Tan committed
Jul 3, 2023 at 12:25 UTC
c6b437b4026c06843a19eb3bce9da8ef4d15aa63
2 files changed
+1
-7
compiler/forget/packages/eslint-plugin-react-forget/package.json
-2
@@ -21,8 +21,6 @@
21
"@babel/core": "^7.19.1",
22
"@babel/parser": "^7.19.1",
23
"@babel/traverse": "^7.19.1",
24
- "babel-plugin-fbt": "^1.0.0",
25
- "babel-plugin-fbt-runtime": "^1.0.0",
24
"babel-plugin-react-forget": "*",
25
"hermes-parser": "^0.12.1"
26
},
compiler/forget/packages/eslint-plugin-react-forget/src/rules/ReactForgetDiagnostics.ts
+1
-5
@@ -90,11 +90,7 @@ const rule: Rule.RuleModule = {
90
filename,
91
highlightCode: false,
92
retainLines: true,
93
- plugins: [
94
- [ReactForgetBabelPlugin, COMPILER_OPTIONS],
95
- "babel-plugin-fbt",
96
- "babel-plugin-fbt-runtime",
97
- ],
93
+ plugins: [[ReactForgetBabelPlugin, COMPILER_OPTIONS]],
94
sourceType: "module",
95
});
96
} catch (err) {