1
0
mirror of https://github.com/desktop/desktop synced 2024-06-28 13:44:30 +00:00

Add markdownlint to package json

This commit is contained in:
tidy-dev 2022-08-29 06:51:24 -04:00
parent b84cc45cec
commit 06f8a33300
2 changed files with 3 additions and 0 deletions

2
.markdownlint.js Normal file
View File

@ -0,0 +1,2 @@
const markdownlintGitHub = require('@github/markdownlint-github')
module.exports = markdownlintGitHub.init()

View File

@ -25,6 +25,7 @@
"compile:script": "tsc -P script/tsconfig.json",
"lint": "yarn prettier && yarn lint:src",
"lint:fix": "yarn prettier --write && yarn lint:src:fix",
"markdownlint": "markdownlint **/*.{md,mdx} --config .markdownlint.js --rules node_modules/@github/markdownlint-github --ignore node_modules --ignore gemoji",
"prettier": "prettier --check \"./**/*.{ts,tsx,js,json,jsx,scss,html,yaml,yml}\"",
"lint:src": "yarn eslint-check && yarn eslint",
"lint:src:fix": "yarn eslint --fix",