From 0c164dc8b23ffeeeaf6fe26872ae9d1d15e53908 Mon Sep 17 00:00:00 2001 From: Jonas Schell Date: Tue, 19 Sep 2023 14:05:44 +0200 Subject: [PATCH] use prettier cli config for markdown formatting --- tooling/docs-gen/.prettierrc | 11 ----------- tooling/docs-gen/package.json | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 tooling/docs-gen/.prettierrc diff --git a/tooling/docs-gen/.prettierrc b/tooling/docs-gen/.prettierrc deleted file mode 100644 index b3997739d..000000000 --- a/tooling/docs-gen/.prettierrc +++ /dev/null @@ -1,11 +0,0 @@ -{ - "singleQuote": false, - "trailingComma": "none", - "semi": true, - "tabWidth": 2, - "printWidth": 100, - "plugins": [], - "pluginSearchDirs": [ - "." - ] -} \ No newline at end of file diff --git a/tooling/docs-gen/package.json b/tooling/docs-gen/package.json index 7456496f6..bf9dfe845 100644 --- a/tooling/docs-gen/package.json +++ b/tooling/docs-gen/package.json @@ -14,7 +14,7 @@ "gen:docs": "yarn gen:api-documenter && yarn gather-api-files && yarn format-gen-docs", "gather-api-files": "mkdir -p ./temp && cp ./../../packages/react/temp/*.api.json ./temp/ && cp ./../../packages/core/temp/*.api.json ./temp/", "gen:api-documenter": "api-documenter markdown --input-folder ./temp --output-folder ../../docs/docs/generated-docs", - "format-gen-docs": "prettier --config ./.prettierrc --write \"./../../docs/docs/**/*.md\" --loglevel warn", + "format-gen-docs": "prettier --write \"./../../docs/docs/**/*.md\" --loglevel warn --single-quote false --trailing-comma none", "lint": "eslint -f unix \"src/**/*.{ts,tsx}\"", "typecheck": "tsc --noEmit" },