chore(tooling): add prettier config file
Some checks failed
Actions / Build and Push Documentation (push) Has been cancelled

This commit is contained in:
cswimr 2025-02-13 10:23:37 -06:00
parent 3ec07c7235
commit 15a5e2a776
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
3 changed files with 17 additions and 10 deletions

10
.prettierrc.json Normal file
View file

@ -0,0 +1,10 @@
{
"overrides": [
{
"files": ["*.json", "*.jsonc"],
"options": {
"trailingComma": "none"
}
}
]
}

View file

@ -11,7 +11,7 @@
},
"scripts": {
"docs": "typedoc --options typedoc.jsonc",
"format": "bun prettier --write '**/*.{ts,json,md}'",
"format": "bun prettier --write '**/*.{ts,json,jsonc,md}'",
"prepare": "bunx husky || true"
},
"devDependencies": {

View file

@ -1,14 +1,10 @@
{
"entryPoints": [
"packages/*"
],
"entryPoints": ["packages/*"],
"entryPointStrategy": "packages",
"name": "PackwizJS",
"packageOptions": {
"includeVersion": true,
"entryPoints": [
"src/**/!(*index).ts"
],
"entryPoints": ["src/**/!(*index).ts"],
"dmtLinksIcon": [
{
"icon": "https://c.csw.im/favicon.ico",
@ -16,6 +12,9 @@
"url": "https://c.csw.im/GalacticFactory/PackwizJS"
}
],
"dmtLinksService": {
"NPM": "https://www.npmjs.com/org/packwizjs"
},
"dmtNavigation": {
"moduleIcon": true,
"style": "compact"
@ -39,9 +38,7 @@
"favicon": "docs/assets/favicon.png",
"githubPages": false,
"includeVersion": false,
"exclude": [
"**/*+(test|spec).ts"
],
"exclude": ["**/*+(test|spec).ts"],
"theme": "default",
"coverageOutputType": "all",
"plugin": [