mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-20 02:00:03 +01:00
ci: markdownlint: Add markdownlint to the pre-commit check
This commit is contained in:
parent
2cfc6f625f
commit
9c3b678d7f
2 changed files with 15 additions and 0 deletions
10
.markdownlint.json
Normal file
10
.markdownlint.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD033": false,
|
||||
"MD041": false,
|
||||
"MD036": false,
|
||||
"MD013": {
|
||||
"tables": false,
|
||||
"line_length": 1000
|
||||
}
|
||||
}
|
||||
|
|
@ -29,3 +29,8 @@ repos:
|
|||
hooks:
|
||||
- id: codespell
|
||||
args: ['--config', './contrib/codespell.cfg', --write-changes]
|
||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||
rev: v0.38.0
|
||||
hooks:
|
||||
- id: markdownlint
|
||||
args: ['--fix', '--ignore', '.github']
|
||||
Loading…
Add table
Reference in a new issue