8000 Increased level of self-documentation of code by suwakei · Pull Request #17765 · prettier/prettier · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@suwakei
Copy link
Contributor
@suwakei suwakei commented Jul 29, 2025

Description

While this code is functionally correct, there is room for readability and maintainability improvements in that it is difficult to tell from the code alone what files are included in the ignoredFilenames.

In particular, it is difficult to understand why a file such as mcmod.info is in the list without other knowledge.

Therefore, I suggest adding a comment explaining why each file is excluded and what file it is. This will make it easier for future maintainers to understand the intent.

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.

@netlify
Copy link
netlify bot commented Jul 29, 2025

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit 70e23f2
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/68c30afda384300008c9a677
😎 Deploy Preview https://deploy-preview-17765--prettier.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

8000

@pkg-pr-new
Copy link
pkg-pr-new bot commented Sep 11, 2025

Open in StackBlitz

yarn add https://pkg.pr.new/prettier/prettier/@prettier/plugin-hermes@17765.tgz
yarn add https://pkg.pr.new/prettier/prettier/@prettier/plugin-oxc@17765.tgz
yarn add https://pkg.pr.new/prettier/prettier@17765.tgz

commit: 70e23f2

@fisker fisker merged commit c0f194c into prettier:main Sep 11, 2025
33 checks passed
jgerigmeyer added a commit to oddbird/prettier that referenced this pull request Sep 17, 2025
* main: (87 commits)
  Unify `require()` and `import()` formatting logic (prettier#17902)
  Allow `parser.preprocess` to return a `Promise` (prettier#17679)
  Fix config file names order (prettier#17685)
  Fix format of comments around `ChainExpression` (prettier#17723)
  Cleanup cspell.json (2025-09-11) (prettier#17901)
  Add automated job to clean cspell.json yearly (prettier#17900)
  Add missing parentheses to arrow function in `TSInstantiationExpression` (prettier#17724)
  Increased level of self-documentation of code (prettier#17765)
  Fix crash on CSS custom properties (prettier#17899)
  doc: update related-projects.md (prettier#17804)
  docs: add monaco-prettier integration (prettier#17815)
  Build: stop transforming optional chaining (prettier#17863)
  Remove unnecessary path parameters (prettier#17867)
  chore(deps): update dependency nano-spawn to v1.0.3 (prettier#17898)
  chore(deps): update dependency knip to v5.63.1 (prettier#17896)
  chore(deps): update dependency concurrently to v9.2.1 (prettier#17887)
  chore(deps): update dependency tinybench to v5.0.1 (prettier#17892)
  chore(deps): update dependency @mdx-js/react to v3.1.1 (prettier#17885)
  chore(deps): update dependency @angular/compiler to v20.3.0 (prettier#17894)
  chore(deps): update dependency flow-parser to v0.281.0 (prettier#17895)
  ...
jgerigmeyer added a commit to oddbird/prettier that referenced this pull request Sep 18, 2025
* main: (140 commits)
  chore(deps): update dependency esbuild to v0.25.10 (prettier#17913)
  chore(deps): update dependency sdbm to v3 (prettier#17914)
  Prevent matching mixin calls inside arguments (prettier#17903)
  chore(deps): update dependency oxc-parser to v0.89.0 (prettier#17912)
  Improve emoji width measurement (prettier#17813)
  Unify `require()` and `import()` formatting logic (prettier#17902)
  Allow `parser.preprocess` to return a `Promise` (prettier#17679)
  Fix config file names order (prettier#17685)
  Fix format of comments around `ChainExpression` (prettier#17723)
  Cleanup cspell.json (2025-09-11) (prettier#17901)
  Add automated job to clean cspell.json yearly (prettier#17900)
  Add missing parentheses to arrow function in `TSInstantiationExpression` (prettier#17724)
  Increased level of self-documentation of code (prettier#17765)
  Fix crash on CSS custom properties (prettier#17899)
  doc: update related-projects.md (prettier#17804)
  docs: add monaco-prettier integration (prettier#17815)
  Build: stop transforming optional chaining (prettier#17863)
  Remove unnecessary path parameters (prettier#17867)
  chore(deps): update dependency nano-spawn to v1.0.3 (prettier#17898)
  chore(deps): update dependency knip to v5.63.1 (prettier#17896)
  ...
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

0