diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 137393c9..482280b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,4 @@ +--- name: ci on: @@ -22,7 +23,11 @@ jobs: ignore: "DL3008,DL3013,SC2015" verbose: true - name: Lint Markdown files - uses: actionshub/markdownlint@v3.1.4 + uses: DavidAnson/markdownlint-cli2-action@v15 + continue-on-error: true + with: + globs: | + README.md - name: Codespell uses: codespell-project/actions-codespell@master with: diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 00000000..9b656dd8 --- /dev/null +++ b/.markdownlint.yaml @@ -0,0 +1,6 @@ +--- +# allow longer lines +MD013: false + +# allow inline HTML +MD033: false diff --git a/.mdl_style.rb b/.mdl_style.rb deleted file mode 100644 index 2457d1f0..00000000 --- a/.mdl_style.rb +++ /dev/null @@ -1,13 +0,0 @@ -all - -# Extend line length, since each sentence should be on a separate line. -rule 'MD013', :line_length => 99999 - -# allow inline HTML -exclude_rule "MD033" - -# First header should be a top level header -exclude_rule "MD002" - -# First line in file should be a top level header -exclude_rule "MD041" diff --git a/.mdlrc b/.mdlrc deleted file mode 100644 index 1f82ca2c..00000000 --- a/.mdlrc +++ /dev/null @@ -1 +0,0 @@ -style '.mdl_style.rb'