@stylelint/npm-package-json-lint-config
v5.1.0
Published
A stylelint shareable config for npm-package-json-lint.
Downloads
108
Readme
@stylelint/npm-package-json-lint-config
Stylelint org's shareable config for npm-package-json-lint.
For consistent package.json
files across Stylelint org repos.
Installation
npm install @stylelint/npm-package-json-lint-config --save-dev
Usage
Add this to your package.json
:
{
"npmpackagejsonlint": {
"extends": "@stylelint/npm-package-json-lint-config"
}
}
If you prefer, add this too:
{
"scripts": {
"lint:packagejson": "npmPkgJsonLint ."
}
}