Skip to content

Commit 06a7601

Browse files
fix: exclude CHANGELOG.md from Prettier formatting
- Remove auto-format workflow that was causing CI failures - Add CHANGELOG.md to .prettierignore since it's managed by Release Please - Update format scripts to use .prettierignore This prevents formatting conflicts with Release Please's changelog updates. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent edece88 commit 06a7601

File tree

3 files changed

+6
-42
lines changed

3 files changed

+6
-42
lines changed

.github/workflows/format-release-pr.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.prettierignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# ignore auto-generated documentation website
2-
website
2+
website
3+
4+
# Exclude CHANGELOG.md as it's managed by Release Please
5+
CHANGELOG.md

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"scripts": {
2525
"clean": "rimraf dist",
26-
"format-check": "npx prettier --check \"./**/*.{ts,tsx,json,md,yml,babelrc,html}\"",
27-
"format-fix": "npx prettier --write \"./**/*.{ts,tsx,json,md,yml,babelrc,html}\"",
26+
"format-check": "npx prettier --check \"./**/*.{ts,tsx,json,md,yml,babelrc,html}\" --ignore-path .prettierignore",
27+
"format-fix": "npx prettier --write \"./**/*.{ts,tsx,json,md,yml,babelrc,html}\" --ignore-path .prettierignore",
2828
"lint": "eslint ./src --ext ts,tsx --fix",
2929
"lint-check": "eslint ./src --ext ts,tsx",
3030
"ts-compile-check": "npx tsc -p tsconfig.typecheck.json",

0 commit comments

Comments
 (0)