chore: set up prettier ignore

This commit is contained in:
Ayo Ayco 2024-12-27 11:10:32 +01:00
parent e7b2a23cf4
commit da6c563eee
3 changed files with 8 additions and 7 deletions

View file

@ -1,6 +0,0 @@
# Ignore artifacts:
site
vendors
build
coverage

7
.prettierignore Normal file
View file

@ -0,0 +1,7 @@
# someday let's think about formatting html
**/*.html
**/*.md
**/*.css
**/*.yml
**/*.yaml

View file

@ -37,7 +37,7 @@
"pub": "pnpm run clean && pnpm run build && npm publish", "pub": "pnpm run clean && pnpm run build && npm publish",
"pub:patch": "npm version patch && pnpm run pub", "pub:patch": "npm version patch && pnpm run pub",
"pub:minor": "npm version minor && pnpm run pub", "pub:minor": "npm version minor && pnpm run pub",
"format": "prettier --write \"./**/*.{js,mjs,json}\"", "format": "prettier . --write",
"lint": "eslint . --config eslint.config.mjs", "lint": "eslint . --config eslint.config.mjs",
"prepare": "husky install" "prepare": "husky install"
}, },