laminas / getlaminas.org

getlaminas.org source code
https://getlaminas.org
BSD 3-Clause "New" or "Revised" License
72 stars 23 forks source link

Extend linting to all .md files ? #222

Open arhimede opened 4 weeks ago

arhimede commented 4 weeks ago

Feature Request

Q A
New Feature yes

Summary

Currently , the blog .md files and authors.md files are not checked. Do we want to extend the check to all .md files ?

froschdesign commented 4 days ago

We should definitely do this!


The rule for checking the line length must be ignored:

.markdownlint.json

{
    "default": true,
    "MD013": false
}

https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md013.md

arhimede commented 3 days ago

@Xerkus any idea why the continuous integration is running linting only on README file ? example this one https://github.com/laminas/getlaminas.org/actions/runs/11499789946/job/32008552667

gsteel commented 3 days ago

The CI action has 1 job for the readme and 1 job for anything in /doc or /docs - it'd be better to run the linter in a specific job here using a standalone action such as https://github.com/marketplace/actions/markdownlint-cli2-action