From ae96c56e81f8ac7bcb6de7a27b4c1e376a5f0266 Mon Sep 17 00:00:00 2001 From: jalensailin Date: Mon, 28 Jul 2025 16:30:10 -0400 Subject: [PATCH] fix prettierignore and editorconfig to account for .hbs extension --- .editorconfig | 2 +- .prettierignore | 40 +++++++++++++++------------------------- 2 files changed, 16 insertions(+), 26 deletions(-) diff --git a/.editorconfig b/.editorconfig index 900b5a9..73612d9 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,5 +10,5 @@ indent_size = 2 trim_trailing_whitespace = true # four spaces for html files -[*.html] +[*.{html,hbs}] indent_size = 4 diff --git a/.prettierignore b/.prettierignore index a1057a8..e7492be 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,25 +1,15 @@ -# These are generated automatically by external packages. Let them do their thing. -**/.git -**/node_modules -**/package-lock.json - -# These contain fonts, icons, and images, which are static files. -**/assets -**/documentation/images - -# Ignore binary compendia packs. -packs/armor -packs/armor* -packs/firearms -packs/firearms* -packs/hand-to-hand-weapons -packs/hand-to-hand-weapons* -packs/operation-code-name-generator -packs/operation-code-name-generator* -packs/operation-code-name-generator-macro -packs/operation-code-name-generator-macro* -packs/pregens -packs/pregens* - -# Ignore handlebars files as Prettier cannot handle these currently. -**/*.html \ No newline at end of file +# These are generated automatically by external packages. Let them do their thing. +**/.git +**/node_modules +**/package-lock.json + +# These contain fonts, icons, and images, which are static files. +**/assets +**/documentation/images + +# everything in the packs dir +packs/** + +# Ignore html/handlebars files as a different formatter is used. +*.html +*.hbs