Skip to content
Default npm-package-json-lint shareable config
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
test
.editorconfig
.eslintrc.json
.gitattributes
.gitignore
.npmpackagejsonlintrc.json
CHANGELOG.md
CONTRIBUTING.md
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

npm-package-json-lint-config-default

Default npm-package-json-lint shareable config

license npm CircleCI Dependency Status devDependency Status

What is npm-package-json-lint-config-default?

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.

How do I install it?

First thing first, let's make sure you have the necessary pre-requisites.

System Dependencies

Node

Command

npm install npm-package-json-lint-config-default --save-dev

Usage

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"
  }
}

Contributing

Please see CONTRIBUTING.md.

Release History

Please see CHANGELOG.md.

License

Copyright (c) 2017-2020 Thomas Lindner. Licensed under the MIT license.

You can’t perform that action at this time.