Skip to content

CI: Lint all Markdown files in the project#14937

Merged
josevalim merged 4 commits intoelixir-lang:mainfrom
eksperimental-forks:feature/ci-lint-all-markdownfiles
Nov 21, 2025
Merged

CI: Lint all Markdown files in the project#14937
josevalim merged 4 commits intoelixir-lang:mainfrom
eksperimental-forks:feature/ci-lint-all-markdownfiles

Conversation

@eksperimental
Copy link
Contributor

@eksperimental eksperimental commented Nov 20, 2025

  • Format all Markdown files according to Markdownlint rules

  • Replace .markdownlint.jsonc with .markdownlint-cli2.jsonc
    Adds globs and ignore rules.

    This allows us to lint Markdown files locally by running as simple as:

      $ markdownlint-cli2
    

    or automatically fix issues with

     $ markdownlint-cli2 --fix
    

It also fixes a bug when changes in README.md would not trigger this
action on pushes and pull requests.

Removes glob config and delegates to .markdownlint-cli2.jsonc

Adds globs and ignore rules.

This allows as to lint Markdown files locally by running as simple as:

    $ markdownlint-cli2

or automatically fix issues with

   $ markdownlint-cli2 --fix
It also fixes a bug when changes in `README.md` would not trigger this
action on pushes and pull requests.

Removes glob config and delegates to .markdownlint-cli2.jsonc
@josevalim josevalim merged commit 2219d74 into elixir-lang:main Nov 21, 2025
14 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@eksperimental eksperimental deleted the feature/ci-lint-all-markdownfiles branch November 21, 2025 15:28
eksperimental added a commit to eksperimental-forks/elixir that referenced this pull request Nov 21, 2025
josevalim pushed a commit that referenced this pull request Nov 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants