Skip to content

Commit

Permalink
feat(1387): add markdown lint to enforce data diff code fence
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianDouglasIE authored and mansona committed Jul 23, 2024
1 parent 92f8df6 commit c45e77c
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"default": false,
"MD040": {
"allowed_languages": [
"js",
"ts",
"javascript",
"typescript",
"bash",
"shell",
"handlebars",
"plaintext",
"json",
"html",
"css"
]
}
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"lint:js": "eslint . --cache",
"lint:js:fix": "eslint . --fix",
"lint:md": "remark . --frail --quiet",
"lint:markdownlint": "markdownlint \"content/**/*.md\" --config .markdownlint.json",
"start": "ember serve",
"test": "npm-run-all --aggregate-output --continue-on-error --parallel \"test:*\"",
"test:node": "mocha node-tests",
Expand Down Expand Up @@ -80,6 +81,8 @@
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-qunit": "^7.2.0",
"loader.js": "^4.7.0",
"markdownlint": "^0.34.0",
"markdownlint-cli": "^0.41.0",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"prember": "^2.0.0",
Expand Down
122 changes: 122 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c45e77c

Please sign in to comment.