@gechiui/npm-package-json-lint-config

4.1.0 • Public • Published

NPM Package.json Lint Config

GeChiUI npm-package-json-lint shareable configuration.

Installation

Install the module

$ npm install @gechiui/npm-package-json-lint-config

Note: This package requires Node.js 12.0.0 or later. It is not compatible with older versions.

Usage

Add this to your package.json file:

"npmpackagejsonlint": {
	"extends": "@gechiui/npm-package-json-lint-config",
},

Or to a .npmpackagejsonlintrc.json file in the root of your repo:

{
	"extends": "@gechiui/npm-package-json-lint-config"
}

To add, modify, or override any npm-package-json-lint rules add this to your package.json file:

"npmpackagejsonlint": {
	"extends": "@gechiui/npm-package-json-lint-config",
	"rules": {
		"valid-values-author": [
			"error",
			[
				"GeChiUI"
			]
		]
	}
},

Or to a .npmpackagejsonlintrc.json file in the root of your repo:

{
	"extends": "@gechiui/npm-package-json-lint-config",
	"rules": {
		"require-publishConfig": "error",
		"valid-values-author": [ "error", [ "GeChiUI" ] ]
	}
}



Code is Poetry.

Package Sidebar

Install

npm i @gechiui/npm-package-json-lint-config

Weekly Downloads

1

Version

4.1.0

License

GPL-2.0-or-later

Unpacked Size

41.8 kB

Total Files

4

Last publish

Collaborators

  • gechiui