fix(markdown): use markdownlint-cli2.yaml configuration

This commit is contained in:
JamBalaya56562
2026-01-24 10:09:04 +01:00
committed by Jan De Dobbeleer
parent c1fe234e76
commit 897e7b525d
7 changed files with 15 additions and 22 deletions
-1
View File
@@ -1,4 +1,3 @@
<!-- markdownlint-disable MD041 -->
### Prerequisites ### Prerequisites
- [ ] I have read and understood the [contributing guide][CONTRIBUTING.md]. - [ ] I have read and understood the [contributing guide][CONTRIBUTING.md].
+1 -1
View File
@@ -15,5 +15,5 @@ jobs:
- name: Lint files - name: Lint files
uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101 uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101
with: with:
config: .markdownlint.yaml config: .markdownlint-cli2.yaml
globs: '**/*.md' globs: '**/*.md'
+11
View File
@@ -0,0 +1,11 @@
config:
MD013:
line_length: 120
code_blocks: false
MD024: false
fix: true
gitignore: true
ignores:
- node_modules/
- .github/agents/segment-docs.md
- .github/PULL_REQUEST_TEMPLATE.md
-6
View File
@@ -1,6 +0,0 @@
MD014: false
MD024: false
MD038: false
line-length:
line_length: 120
code_blocks: false
-2
View File
@@ -1,2 +0,0 @@
node_modules/
.github\agents\segment-docs.md
+1 -10
View File
@@ -25,14 +25,5 @@
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.fixAll.markdownlint": "explicit" "source.fixAll.markdownlint": "explicit"
} }
}, }
"markdownlint.lintWorkspaceGlobs": [
"**/*.{md,mkd,mdwn,mdown,markdown,markdn,mdtxt,mdtext,workbook}",
"!**/*.code-search",
"!**/bower_components",
"!**/node_modules",
"!**/.git",
"!**/vendor",
"!**/AGENTS.md"
]
} }
+2 -2
View File
@@ -5,13 +5,13 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati
## Installation ## Installation
```shell ```shell
$ npm install npm install
``` ```
## Local Development ## Local Development
```shell ```shell
$ npm run start npm run start
``` ```
This command starts a local development server and open up a browser window. This command starts a local development server and open up a browser window.