Skip to content

Minor refactor to getSupportedFilesGlob#15319

Merged
fisker merged 1 commit intoprettier:mainfrom
fisker:getSupportedFilesGlob
Aug 29, 2023
Merged

Minor refactor to getSupportedFilesGlob#15319
fisker merged 1 commit intoprettier:mainfrom
fisker:getSupportedFilesGlob

Conversation

@fisker
Copy link
Copy Markdown
Member

@fisker fisker commented Aug 28, 2023

Description

Avoid creating small arrays.

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

Copy link
Copy Markdown
Contributor

@sosukesuzuki sosukesuzuki left a comment

Choose a reason for hiding this comment

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

Good generator usage

@fisker fisker merged commit 941c6b3 into prettier:main Aug 29, 2023
@fisker fisker deleted the getSupportedFilesGlob branch August 29, 2023 06:37
medikoo pushed a commit to medikoo/prettier-elastic that referenced this pull request Feb 15, 2024
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.

2 participants