mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2026-08-24 10:14:12 -05:00
fix(markdown): use markdownlint-cli2.yaml configuration
This commit is contained in:
committed by
Jan De Dobbeleer
parent
c1fe234e76
commit
897e7b525d
@@ -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].
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
MD014: false
|
|
||||||
MD024: false
|
|
||||||
MD038: false
|
|
||||||
line-length:
|
|
||||||
line_length: 120
|
|
||||||
code_blocks: false
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
node_modules/
|
|
||||||
.github\agents\segment-docs.md
|
|
||||||
Vendored
+1
-10
@@ -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
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user