diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index cf12ee2d7..b3afe5c59 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -291,7 +291,13 @@ jobs: shell: bash run: | RUSTDOCFLAGS="-Dwarnings" cargo doc ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} --no-deps --workspace --document-private-items - + - uses: DavidAnson/markdownlint-cli2-action@v9 + with: + command: fix + globs: | + *.md + docs/src/*.md + src/uu/*/*.md min_version: name: MinRustV # Minimum supported rust version (aka, MinSRV or MSRV) diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 000000000..11b733e0b --- /dev/null +++ b/.markdownlint.yaml @@ -0,0 +1,6 @@ +# Disable 'Line length'. Doesn't provide much values +MD013: false +# Disable 'Fenced code blocks should have a language specified' +# Doesn't provide much in src/ to enforce it +MD040: false +