@jjangga0214/markdownlint-config
v1.1.0
Published
A sharable config package for markdownlint
Downloads
21
Maintainers
Readme
@jjangga0214/markdownlint-config
A sharable config package for markdownlint-cli
.
Installation
npm install --save-dev @jjangga0214/markdownlint-config
# or
yarn add --dev @jjangga0214/markdownlint-config
# or
pnpm add --save-dev @jjangga0214/markdownlint-config
And you should also install peerDependencies
manually.
Checkout package.json or npm info
.
# This does not install them all. This just show them on terminal.
npm info "@jjangga0214/markdownlint-config@latest" peerDependencies
Or install them all by install-peerdeps
.
# For npm
npx install-peerdeps --dev @jjangga0214/markdownlint-config
# For yarn
npx install-peerdeps --yarn --dev @jjangga0214/markdownlint-config
# For pnpm
npx install-peerdeps --pnpm --dev @jjangga0214/markdownlint-config
Note
- There're
markdownlint-cli
andmarkdownlint-cli2
. This package works with the former. This may or may not work with the latter. - There's
igorshubovych/markdownlint-cli#97
for extending sharable config, and/or autodiscovery of .js config file. Once the discussion is settled, the usage below might ought to be edited.
Usage
.markdownlint.json:
{
"extends": "@jjangga0214/markdownlint-config"
// You can override/add rules here.
}
.markdownlintignore (Optional):
.git
**/node_modules
# specify any patterns you need