Skip to content

Commit f31779a

Browse files
potetomichaelfaith
andauthored
[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 <[email protected]> --- [//]: # (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 <[email protected]>
1 parent 0e2402e commit f31779a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

compiler/packages/eslint-plugin-react-compiler/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.

compiler/packages/eslint-plugin-react-compiler/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)