diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..c590c41 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,10 @@ +{ + "overrides": [ + { + "files": ["*.json", "*.jsonc"], + "options": { + "trailingComma": "none" + } + } + ] +} diff --git a/package.json b/package.json index 77db239..538e9d0 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/typedoc.jsonc b/typedoc.jsonc index 31478e3..b31ab32 100644 --- a/typedoc.jsonc +++ b/typedoc.jsonc @@ -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": [