[ez] Run Prettier on eslint-plugin-react-compiler/src/types (#32590)
Extracting portions of #32416 for easier review. This PR contains small formatting fixes. Co-authored-by: michael faith <michaelfaith@users.noreply.github.com> --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32590). * #32592 * #32591 * __->__ #32590 * #32589 * #32588 --------- Co-authored-by: michael faith <michaelfaith@users.noreply.github.com>
lauren committed
Mar 12, 2025 at 19:12 UTC
f31779a112f3b5c9e56d651ad59c2db0bc236981
2 files changed
+5
-5
compiler/packages/eslint-plugin-react-compiler/src/types/hermes-eslint.d.ts
+2
-2
@@ -6,7 +6,7 @@
6
*/
7
8
// v0.17.1
9
-declare module "hermes-eslint" {
9
+declare module 'hermes-eslint' {
10
// https://fburl.com/2vikhmaa
11
type ParseForESLintOptions = {
12
/**
@@ -37,7 +37,7 @@ declare module "hermes-eslint" {
37
/**
38
* The source type of the script.
39
*/
40
- sourceType: "script" | "module";
40
+ sourceType: 'script' | 'module';
41
42
/**
43
* Ignore <fbt /> JSX elements when adding references to the module-level `React` variable.
compiler/packages/eslint-plugin-react-compiler/src/types/hermes-parser.d.ts
+3
-3
@@ -6,14 +6,14 @@
6
*/
7
8
// v0.17.1
9
-declare module "hermes-parser" {
9
+declare module 'hermes-parser' {
10
type HermesParserOptions = {
11
allowReturnOutsideFunction?: boolean;
12
babel?: boolean;
13
- flow?: "all" | "detect";
13
+ flow?: 'all' | 'detect';
14
enableExperimentalComponentSyntax?: boolean;
15
sourceFilename?: string;
16
- sourceType?: "module" | "script" | "unambiguous";
16
+ sourceType?: 'module' | 'script' | 'unambiguous';
17
tokens?: boolean;
18
};
19
export function parse(code: string, options: Partial<HermesParserOptions>);