.pre-commit-config: stop handing .toml files to prettier

prettier has no TOML parser, so `prek run --all-files` failed on
.mdformat.toml with "No parser could be inferred". The Makefile's own
prettier glob never included toml.
This commit is contained in:
Kristoffer Dalby
2026-09-09 13:39:44 +00:00
parent 4657a8e8af
commit e8797dd6df
+1 -1
View File
@@ -45,7 +45,7 @@ repos:
entry: prettier --write --list-different
language: system
exclude: ^docs/
types_or: [javascript, jsx, ts, tsx, yaml, json, toml, html, css, scss, sass, markdown]
types_or: [javascript, jsx, ts, tsx, yaml, json, html, css, scss, sass, markdown]
# mdformat for docs
- id: mdformat