Skip to content

Commit 06f8a33

Browse files
committed
Add markdownlint to package json
1 parent b84cc45 commit 06f8a33

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.markdownlint.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const markdownlintGitHub = require('@github/markdownlint-github')
2+
module.exports = markdownlintGitHub.init()

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"compile:script": "tsc -P script/tsconfig.json",
2626
"lint": "yarn prettier && yarn lint:src",
2727
"lint:fix": "yarn prettier --write && yarn lint:src:fix",
28+
"markdownlint": "markdownlint **/*.{md,mdx} --config .markdownlint.js --rules node_modules/@github/markdownlint-github --ignore node_modules --ignore gemoji",
2829
"prettier": "prettier --check \"./**/*.{ts,tsx,js,json,jsx,scss,html,yaml,yml}\"",
2930
"lint:src": "yarn eslint-check && yarn eslint",
3031
"lint:src:fix": "yarn eslint --fix",

0 commit comments

Comments
 (0)