For each PR, there's a build to validate that all markdown files are following conventions defined in .markdownlint.json
Install NPM dependencies to set up pre-commit hook for linting
# make sure you're at the root of the urlist app
npm install
If you want to run these lint check locally before pushing
# make sure you're at the root of the urlist app
npm run lint
It is recommended that you install the markdownlint extension.
This extension will highlight rule violation as you edit the files.
If you have the vscode extenstion installed, you could configure your vscode preferences to fix linting issues on save
"editor.codeActionsOnSave": {
"source.fixAll.markdownlint": true
}
Alternatively, you could run the following command
npm run lint:fix