Skip to content

v0.7.1

Choose a tag to compare

@PerfectPan PerfectPan released this 12 Nov 13:35
· 7 commits to main since this release
5b361c0

What changed

  • The shared oxfmt options ignore CHANGELOG.*, the changelogs that release tools generate. This covers oxfmt.json and fmt from @perfectpan/lint-config/vite-plus. Changesets writes CHANGELOG.md, and @changesets/changelog-github indents the blank lines of multi-paragraph summaries, which failed format checks in version pull requests. Rush also writes CHANGELOG.json.
  • A repository config that spreads fmt skips these files at any depth below it. This works for vite-plus fmt and for oxfmt.config.ts. oxfmt resolves ignorePatterns from the config file's directory, so oxfmt -c node_modules/@perfectpan/lint-config/oxfmt.json does not apply the ignore.
  • The exported fmt type declares ignorePatterns. The reason is recorded in docs/decisions.md. AGENTS.md names this as the one shared ignore.

What newly fails

Nothing. The change only stops checking generated changelogs. A config that sets its own ignorePatterns still replaces the shared list; spread ...fmt.ignorePatterns first to keep the changelog ignore.

Impact

Format checks only. Some consumers already ignore CHANGELOG.* themselves: project-template-pnpm, project-template-rush, agent-kit and snorlax. For them, nothing changes, and they can drop their own pattern.

Upgrade

Change #v0.7.0 to #v0.7.1 in the @perfectpan/lint-config dependency, then reinstall. If a package config ignored only CHANGELOG.*, use plain fmt. Otherwise use ignorePatterns: [...fmt.ignorePatterns, ...].