From eac81bf87588ec88b65f3415aa838c330fbd621b Mon Sep 17 00:00:00 2001 From: mauwii Date: Wed, 14 Sep 2022 06:46:43 +0200 Subject: [PATCH] add prettier config remove markdownlint move and rename requirements-mkdocs.txt --- .github/workflows/mkdocs-flow.yml | 2 +- .prettierrc.yaml | 7 +++++++ docs/.markdownlint.json | 13 ------------- docs/requirements.txt => requirements-mkdocs.txt | 0 4 files changed, 8 insertions(+), 14 deletions(-) delete mode 100644 docs/.markdownlint.json rename docs/requirements.txt => requirements-mkdocs.txt (100%) diff --git a/.github/workflows/mkdocs-flow.yml b/.github/workflows/mkdocs-flow.yml index e54edbd67b..8b0f3c9de8 100644 --- a/.github/workflows/mkdocs-flow.yml +++ b/.github/workflows/mkdocs-flow.yml @@ -14,7 +14,7 @@ jobs: uses: Tiryoh/actions-mkdocs@v0 with: mkdocs_version: 'latest' # option - requirements: '/docs/requirements.txt' # option + requirements: '/requirements-mkdocs.txt' # option configfile: '/mkdocs.yml' # option - name: Deploy uses: peaceiris/actions-gh-pages@v3 diff --git a/.prettierrc.yaml b/.prettierrc.yaml index 03c5b6a3f5..68eae1ba15 100644 --- a/.prettierrc.yaml +++ b/.prettierrc.yaml @@ -4,3 +4,10 @@ useTabs: false singleQuote: true quoteProps: as-needed embeddedLanguageFormatting: auto +overrides: + - files: "*.md" + options: + proseWrap: always + printWidth: 100 + parser: markdown + cursorOffset: -1 diff --git a/docs/.markdownlint.json b/docs/.markdownlint.json deleted file mode 100644 index 741ce1591a..0000000000 --- a/docs/.markdownlint.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "default": true, - "MD013": false, - "MD007": false, - "MD033": { - "allowed_elements": [ - "br", - "figure", - "figcaption" - ] - }, - "MD046": false -} diff --git a/docs/requirements.txt b/requirements-mkdocs.txt similarity index 100% rename from docs/requirements.txt rename to requirements-mkdocs.txt