From bba79d509bf1ed07632f3ff9f0950d77d275e5c8 Mon Sep 17 00:00:00 2001 From: Kaj Kowalski Date: Sun, 13 Jul 2025 23:30:54 +0200 Subject: [PATCH] fix: update prettierignore to ignore the files formatted by biome --- .prettierignore | 14 ++++++++++++++ package.json | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index 15edf3c..2c7c605 100644 --- a/.prettierignore +++ b/.prettierignore @@ -12,3 +12,17 @@ out ## Ignore dependencies node_modules + +## Files that are formatted by biome +**/*.js +**/*.ts +**/*.cjs +**/*.cts +**/*.mjs +**/*.mts +**/*.d.cts +**/*.d.mts +**/*.jsx +**/*.tsx +**/*.json +**/*.jsonc diff --git a/package.json b/package.json index 5a44c66..4b76f45 100644 --- a/package.json +++ b/package.json @@ -229,7 +229,7 @@ "*.{md,markdown}": [ "markdownlint-cli2 --fix" ], - "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [ + "*.{js,ts,cjs,cts,mjs,mts,d.cts,d.mts,jsx,tsx,json,jsonc}": [ "biome check --files-ignore-unknown=true", "biome check --write --no-errors-on-unmatched", "biome format --write --no-errors-on-unmatched"