Skip to content

resuelve/markdown-lint-action

Repository files navigation

Markdown linter

Run markdown-cli2 in the current project.

Usage

- name: Run markdown linter
  uses: resuelve/markdown-lint-action@v1

It will use any of the supported config files that exist in the directory.

For example this config file .markdownlint-cli2.jsonc tell markdownlint-cli2 to ignore src/deps files and also ignore MD013 rule.

{
  // Rules are defined in https://github.com/DavidAnson/markdownlint/#rules--aliases
  "config": {
    "MD013": false
  },
  "ignores": [
    "src/deps/*/**"
  ]
}

Enjoy 🎉

About

Markdown lint action using markdown-cli2

Resources

Stars

Watchers

Forks

Packages

No packages published