chore: replace deprecated mdl action with an actively supported action

This commit is contained in:
wopian 2024-12-30 23:35:43 +00:00
parent 386c7329c4
commit 77a6d1d3a9
No known key found for this signature in database
GPG key ID: 97DE5F00BC744758
5 changed files with 10 additions and 6 deletions

View file

@ -6,5 +6,9 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Run mdl
uses: actionshub/markdownlint@3.1.4
- name: Lint markdown
uses: DavidAnson/markdownlint-cli2-action@v19
with:
config: .markdownlint.yml
globs: '*.md,translations/*.md,Comanche055/*.md,Luminary099/*.md'
separator: ','

1
.mdlrc
View file

@ -1 +0,0 @@
rules '~MD007', '~MD010', '~MD013', '~MD026', '~MD033', '~MD034', '~MD036', '~MD041', '~MD050', '~MD053'

View file

@ -8,7 +8,7 @@ The contents of the "Luminary099" files, in general, are transcribed from a digi
Notations on this document read, in part:
```
```text
ASSEMBLE REVISION 001 OF AGC PROGRAM LMY99 BY NASA 2021112-061
16:27 JULY 14,1969
[Note that this is the date the hardcopy was made,

BIN
bun.lockb

Binary file not shown.

View file

@ -1,9 +1,10 @@
{
"scripts": {
"lint": "markdownlint *.md --config .markdownlint.yml"
"lint": "markdownlint-cli2 *.md translations/*.md Comanche055/*.md Luminary099/*.md --config .markdownlint.yml",
"lint:fix": "markdownlint-cli2 *.md translations/*.md Comanche055/*.md Luminary099/*.md --config .markdownlint.yml --fix"
},
"dependencies": {},
"devDependencies": {
"markdownlint-cli": "^0.43.0"
"markdownlint-cli2": "^0.16.0"
}
}