From db5dcf610a3cb5a43b89edb4c2ba7c843b089b04 Mon Sep 17 00:00:00 2001 From: Anduin Xue Date: Thu, 3 Nov 2022 12:22:26 +0000 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=20markdown=20lint=E6=97=B6?= =?UTF-8?q?=E4=B8=8D=E9=87=87=E7=94=A8=E7=9A=84=E8=A7=84=E5=88=99=E4=B8=BA?= =?UTF-8?q?=20~MD036,~MD024,~MD004,~MD029,~MD013,~MD007?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 2 +- .github/workflows/ci.yml | 2 +- build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8e9ce2e..34dd671 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - run: node ./.github/readme-generate.js # Lint issues first. (Without node_modules) - name: Lint markdown files - run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD007 + run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007 - run: pip install -r requirements.txt - run: mkdocs build --strict # Do textlint fix. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0744c71..3b7596b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - name: Install packages run: sudo gem install mdl - name: Lint markdown files - run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD007 + run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007 - run: pip install -r requirements.txt - run: mkdocs build --strict - run: npm install diff --git a/build.sh b/build.sh index a50e3d6..70b5da9 100755 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ tput setaf 2; echo "Generating new readme and mkdocs"; tput sgr0 node ./.github/readme-generate.js tput setaf 2; echo "Running markdown lint to check issues."; tput sgr0 -mdl ./dishes ./tips -r ~MD036,~MD024,~MD004,~MD029,~MD007 +mdl ./dishes ./tips -r ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007 tput setaf 2; echo "Installing python requirements..."; tput sgr0 pip install -r requirements.txt