mirror of
https://github.com/desktop/desktop
synced 2024-10-01 05:43:50 +00:00
Add markdownlint to package json
This commit is contained in:
parent
b84cc45cec
commit
06f8a33300
2
.markdownlint.js
Normal file
2
.markdownlint.js
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
const markdownlintGitHub = require('@github/markdownlint-github')
|
||||||
|
module.exports = markdownlintGitHub.init()
|
|
@ -25,6 +25,7 @@
|
||||||
"compile:script": "tsc -P script/tsconfig.json",
|
"compile:script": "tsc -P script/tsconfig.json",
|
||||||
"lint": "yarn prettier && yarn lint:src",
|
"lint": "yarn prettier && yarn lint:src",
|
||||||
"lint:fix": "yarn prettier --write && yarn lint:src:fix",
|
"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}\"",
|
"prettier": "prettier --check \"./**/*.{ts,tsx,js,json,jsx,scss,html,yaml,yml}\"",
|
||||||
"lint:src": "yarn eslint-check && yarn eslint",
|
"lint:src": "yarn eslint-check && yarn eslint",
|
||||||
"lint:src:fix": "yarn eslint --fix",
|
"lint:src:fix": "yarn eslint --fix",
|
||||||
|
|
Loading…
Reference in a new issue