Skip to content

Commit 0b1f3a0

Browse files
committed
build: dedupe @babel/types in lock file
1 parent d151f30 commit 0b1f3a0

File tree

4 files changed

+22
-367
lines changed

4 files changed

+22
-367
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"@rollup/plugin-node-resolve": "^15.0.1",
4343
"@rollup/plugin-replace": "^5.0.2",
4444
"@rollup/plugin-typescript": "^12.1.2",
45+
"@types/invariant": "^2.2.35",
4546
"@typescript-eslint/eslint-plugin": "^6.21.0",
4647
"@typescript-eslint/parser": "^6.21.0",
4748
"abortcontroller-polyfill": "^1.7.5",

packages/eslint-plugin-react-hooks/src/types/hermes-eslint.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
// v0.17.1
9-
declare module "hermes-eslint" {
9+
declare module 'hermes-eslint' {
1010
// https://fburl.com/2vikhmaa
1111
type ParseForESLintOptions = {
1212
/**
@@ -37,7 +37,7 @@ declare module "hermes-eslint" {
3737
/**
3838
* The source type of the script.
3939
*/
40-
sourceType: "script" | "module";
40+
sourceType: 'script' | 'module';
4141

4242
/**
4343
* Ignore <fbt /> JSX elements when adding references to the module-level `React` variable.

packages/eslint-plugin-react-hooks/src/types/hermes-parser.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
*/
77

88
// v0.17.1
9-
declare module "hermes-parser" {
9+
declare module 'hermes-parser' {
1010
type HermesParserOptions = {
1111
allowReturnOutsideFunction?: boolean;
1212
babel?: boolean;
13-
flow?: "all" | "detect";
13+
flow?: 'all' | 'detect';
1414
enableExperimentalComponentSyntax?: boolean;
1515
sourceFilename?: string;
16-
sourceType?: "module" | "script" | "unambiguous";
16+
sourceType?: 'module' | 'script' | 'unambiguous';
1717
tokens?: boolean;
1818
};
1919
export function parse(code: string, options: Partial<HermesParserOptions>);

0 commit comments

Comments
 (0)