Skip to content

chore: consolidate formatter ignores into treefmt (DOT-48)#75

Merged
edwinhern merged 1 commit into
mainfrom
feature/dot-48-treefmt-consolidate
Jul 1, 2026
Merged

chore: consolidate formatter ignores into treefmt (DOT-48)#75
edwinhern merged 1 commit into
mainfrom
feature/dot-48-treefmt-consolidate

Conversation

@edwinhern

Copy link
Copy Markdown
Owner

Summary

Remove two root config files by moving their file-selection into treefmt.toml, which already dispatches these formatters.

Changes

  • Delete taplo.toml. It held only include/exclude globs and no formatting rules, so it duplicated selection treefmt already does. Its *.tmpl and tests/test_helpers excludes move into [formatter.taplo].
  • Delete .prettierignore. Its excludes move into [formatter.prettier].excludes.

treefmt now owns all file selection; no per-tool ignore files at the repo root.

Tradeoff (accepted)

  • Standalone in-editor taplo/prettier extensions no longer read a root config. treefmt is the orchestrator for lint/format, so CLI behavior is unchanged.

Verification

  • mise format reports 0 files changed (identical output; *.tmpl and vendored test_helpers still skipped).
  • mise lint clean.

Fixes DOT-48

taplo.toml held only include/exclude globs and no formatting rules, and
.prettierignore only listed paths. treefmt already dispatches both tools
by glob, so move the excludes (*.tmpl and the vendored tests/test_helpers
libraries) into the prettier and taplo formatter blocks and delete the
two root files. treefmt now owns all file selection; mise format reports
no change, so output is identical.

Fixes DOT-48
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@edwinhern edwinhern merged commit 48e2490 into main Jul 1, 2026
6 checks passed
@edwinhern edwinhern deleted the feature/dot-48-treefmt-consolidate branch July 1, 2026 16:51
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.

1 participant