Default npm-package-json-lint shareable config
Shared configuration for npm-package-json-lint. Follow the instructions below to easily include this configuration in another project without having to duplicate the file.
First thing first, let's make sure you have the necessary pre-requisites.
npm install npm-package-json-lint-config-default --save-dev
Add the following to your .npmpackagejsonlintrc.json
file:
{
"extends": "npm-package-json-lint-config-default"
}
If you need to override a rule, your .npmpackagejsonlintrc.json
file should look like the example below. All shared rules will be used, but license-type
will be turned off.
{
"extends": "npm-package-json-lint-config-default",
"rules": {
"license-type": "off"
}
}
Please see CONTRIBUTING.md.
Please see CHANGELOG.md.
Copyright (c) 2017-2023 Thomas Lindner. Licensed under the MIT license.