Skip to content

chore: add prettier and run format#140

Merged
thecodrr merged 2 commits intothecodrr:masterfrom
43081j:prettier
Apr 19, 2025
Merged

chore: add prettier and run format#140
thecodrr merged 2 commits intothecodrr:masterfrom
43081j:prettier

Conversation

@43081j
Copy link
Contributor

@43081j 43081j commented Apr 9, 2025

Adds prettier to the project and applies the formatting changes.

We can probably reduce the diff by setting trailingComma: "es5". up to you if you want to do that or go with the new formatting (we already have trailing commas everywhere else)

Adds prettier to the project and applies the formatting changes.
@thecodrr
Copy link
Owner

We can probably reduce the diff by setting trailingComma: "es5".

That's a good idea. The other extra trailing commas look absurd.

@43081j
Copy link
Contributor Author

43081j commented Apr 10, 2025

that has reduced the diff massively 👍

can you take another look?

Comment on lines +161 to +164
globWithOptions(
patterns: string[],
...options: GlobParams<TGlobFunction>
): Builder<TReturnType, TGlobFunction>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would probably be easier to read with a new line between the method declarations

Suggested change
globWithOptions(
patterns: string[],
...options: GlobParams<TGlobFunction>
): Builder<TReturnType, TGlobFunction>;
globWithOptions(
patterns: string[],
...options: GlobParams<TGlobFunction>
): Builder<TReturnType, TGlobFunction>;

@thecodrr
Copy link
Owner

LGTM

@thecodrr thecodrr merged commit 6e370b8 into thecodrr:master Apr 19, 2025
11 checks passed
@43081j 43081j deleted the prettier branch April 21, 2025 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants