Skip to content

chore: disabled prettier formatting - #8257

Merged
mcoker merged 2 commits into
patternfly:mainfrom
mcoker:disable-prettier
Mar 30, 2026
Merged

chore: disabled prettier formatting#8257
mcoker merged 2 commits into
patternfly:mainfrom
mcoker:disable-prettier

Conversation

@mcoker

@mcoker mcoker commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

Disables prettier. If you have prettier installed, it's causing updates like these, which we don't want - cf79ab3

Summary by CodeRabbit

  • Chores
    • Switched project to rely on Prettier's default formatting by removing custom formatter settings.
    • Broadened formatter exclusion patterns so a catch‑all rule prevents matching files from being processed.

@mcoker
mcoker requested review from dlabaj and srambach March 26, 2026 21:27
@coderabbitai

coderabbitai Bot commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 993b9d6f-767d-4813-a1cb-a0d6cd968d18

📥 Commits

Reviewing files that changed from the base of the PR and between 0965bf0 and 06bf60e.

📒 Files selected for processing (2)
  • .prettierignore
  • .prettierrc
💤 Files with no reviewable changes (1)
  • .prettierrc
🚧 Files skipped from review as they are similar to previous changes (1)
  • .prettierignore

Walkthrough

Replaced specific ignore entries in .prettierignore with a global pattern and removed all explicit settings from .prettierrc, leaving Prettier to use its default configuration.

Changes

Cohort / File(s) Summary
Prettier config files
.prettierignore, .prettierrc
.prettierignore: replaced specific entries (package.json, scripts/template/) with a catch-all pattern (*); .prettierrc: removed all explicit formatting options (emptied file).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'chore: disabled prettier formatting' follows conventional commit format with proper type prefix and clearly describes the main change of disabling Prettier.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
.prettierignore (1)

1-1: Consider cleaning up now-dead Prettier tooling paths.

Line 1 (**) disables formatting globally, so package.json format script currently does nothing. Consider removing/updating the format script (and possibly the prettier devDependency) so the disabled state is explicit and not misleading.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.prettierignore at line 1, The .prettierignore currently contains a global
glob ("**") which disables Prettier entirely; remove that entry (or delete the
.prettierignore file) and then update the package.json "format" script and the
"prettier" devDependency to reflect the desired state—either restore formatting
by ensuring .prettierignore no longer blocks files and keep the "format" script
and devDependency, or explicitly disable formatting by removing/updating the
"format" script in package.json and uninstalling the "prettier" devDependency so
the disabled state is not misleading.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In @.prettierignore:
- Line 1: The .prettierignore currently contains a global glob ("**") which
disables Prettier entirely; remove that entry (or delete the .prettierignore
file) and then update the package.json "format" script and the "prettier"
devDependency to reflect the desired state—either restore formatting by ensuring
.prettierignore no longer blocks files and keep the "format" script and
devDependency, or explicitly disable formatting by removing/updating the
"format" script in package.json and uninstalling the "prettier" devDependency so
the disabled state is not misleading.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: d00d799f-9e7a-4758-94b3-cc6f15d56acf

📥 Commits

Reviewing files that changed from the base of the PR and between af40892 and 0965bf0.

📒 Files selected for processing (2)
  • .prettierignore
  • .prettierrc

@patternfly-build

patternfly-build commented Mar 26, 2026

Copy link
Copy Markdown
Collaborator

@mcoker
mcoker requested a review from jcmill March 30, 2026 14:33

@srambach srambach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

L 🥨 TM

Comment thread .prettierignore Outdated
@@ -1,2 +1 @@
package.json
scripts/template/
**

@jcmill jcmill Mar 30, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we want to match every file in the current directory and explicitly match every file with an extension just to be safe (like .js, .json, .md and so on)? Might be redundant.

ex:

*
*.*

@srambach srambach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍🏻

@mcoker
mcoker merged commit e65dadf into patternfly:main Mar 30, 2026
5 checks passed
@mcoker
mcoker deleted the disable-prettier branch March 30, 2026 19:25
@patternfly-build

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 6.5.0-prerelease.62 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants