mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-17 17:48:06 +00:00
🤖 Merge PR #61557 Configure remark by @remcohaszing
By using a remark configuration file, the same checks that were already done inside a workflow command, are now available inside editors using `remark-language-server`. The updated remark related dependencies add compatibility with `remark-language-server`, support for GFM, and get rid of a deprecated dependency.
This commit is contained in:
2
.github/workflows/lint-md.yml
vendored
2
.github/workflows/lint-md.yml
vendored
@@ -12,4 +12,4 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: npm install
|
||||
- run: npx remark --use validate-links --frail . .github
|
||||
- run: npx remark --frail . .github
|
||||
|
||||
6
.remarkrc.json
Normal file
6
.remarkrc.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"plugins": [
|
||||
"gfm",
|
||||
"validate-links"
|
||||
]
|
||||
}
|
||||
@@ -40,8 +40,9 @@
|
||||
"danger": "^10.1.1",
|
||||
"jsdom": "^17.0.0",
|
||||
"prettier": "^2.1.1",
|
||||
"remark-cli": "^9.0.0",
|
||||
"remark-validate-links": "^10.0.2",
|
||||
"remark-cli": "^11.0.0",
|
||||
"remark-gfm": "^3.0.0",
|
||||
"remark-validate-links": "^12.0.0",
|
||||
"source-map-support": "^0.5.21",
|
||||
"typescript": "next",
|
||||
"w3c-xmlserializer": "^2.0.0",
|
||||
|
||||
Reference in New Issue
Block a user