mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[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
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
"@babel/core": "^7.19.1",
|
||||
"@babel/parser": "^7.19.1",
|
||||
"@babel/traverse": "^7.19.1",
|
||||
"babel-plugin-fbt": "^1.0.0",
|
||||
"babel-plugin-fbt-runtime": "^1.0.0",
|
||||
"babel-plugin-react-forget": "*",
|
||||
"hermes-parser": "^0.12.1"
|
||||
},
|
||||
|
||||
+1
-5
@@ -90,11 +90,7 @@ const rule: Rule.RuleModule = {
|
||||
filename,
|
||||
highlightCode: false,
|
||||
retainLines: true,
|
||||
plugins: [
|
||||
[ReactForgetBabelPlugin, COMPILER_OPTIONS],
|
||||
"babel-plugin-fbt",
|
||||
"babel-plugin-fbt-runtime",
|
||||
],
|
||||
plugins: [[ReactForgetBabelPlugin, COMPILER_OPTIONS]],
|
||||
sourceType: "module",
|
||||
});
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user