From e8797dd6dfc68eb81f8cd0d6736fa457235e68f8 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Wed, 9 Sep 2026 13:39:44 +0000 Subject: [PATCH] .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. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aa4355c4..6ce0c91d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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