-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c016386
commit 501d97a
Showing
8 changed files
with
69 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"problemMatcher": [ | ||
{ | ||
"owner": "markdownlint", | ||
"pattern": [ | ||
{ | ||
"regexp": "^([^:]*):(\\d+):?(\\d+)?\\s([\\w-\\/]*)\\s(.*)$", | ||
"file": 1, | ||
"line": 2, | ||
"column": 3, | ||
"code": 4, | ||
"message": 5 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Markdownlint | ||
|
||
permissions: | ||
contents: read | ||
|
||
# run even on changes without markdown changes, so that we can | ||
# make it in GitHub a required check for PR's | ||
on: | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16.x | ||
- name: Run Markdownlint | ||
run: | | ||
echo "::add-matcher::.github/workflows/markdownlint-problem-matcher.json" | ||
npm i -g markdownlint-cli | ||
markdownlint --ignore '.dotnet/' '**/*.md' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"default": true, | ||
"ul-indent": false, | ||
"ul-style": false, | ||
"no-trailing-spaces": false, | ||
"line-length": false, | ||
"blanks-around-headings": false, | ||
"no-duplicate-heading": { "siblings_only": true }, | ||
"no-trailing-punctuation": false, | ||
"blanks-around-fences": false, | ||
"blanks-around-lists": false, | ||
"no-inline-html": { "allowed_elements": [ "summary", "details", "kbd", "br" ]}, | ||
"no-bare-urls": false, | ||
"single-trailing-newline": false, | ||
"emphasis-style": false, | ||
|
||
// rule settings and options are documented in https://github.com/DavidAnson/markdownlint | ||
// feel free to disable more low value rules in here; get rule name from the error message. | ||
// the purpose of the linter is to catch significant issues like broken links. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# This is for editors; keep .github/workflows/markdownlint.yml in sync | ||
.dotnet/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.