@trigen/npm-package-json-lint-config
Version:
Trigen's npm-package-json-lint config.
56 lines (41 loc) • 1.48 kB
Markdown
# @trigen/npm-package-json-lint-config
[![NPM version][npm]][npm-url]
[![Node version][node]][node-url]
[![Dependencies status][deps]][deps-url]
[![Install size][size]][size-url]
[![Build status][build]][build-url]
[npm]: https://img.shields.io/npm/v/%40trigen/npm-package-json-lint-config.svg
[npm-url]: https://npmjs.com/package/@trigen/npm-package-json-lint-config
[node]: https://img.shields.io/node/v/%40trigen/npm-package-json-lint-config.svg
[node-url]: https://nodejs.org
[deps]: https://img.shields.io/librariesio/release/npm/@trigen/npm-package-json-lint-config
[deps-url]: https://libraries.io/npm/@trigen%2Feslint-config/tree
[size]: https://packagephobia.com/badge?p=@trigen/npm-package-json-lint-config
[size-url]: https://packagephobia.com/result?p=@trigen/npm-package-json-lint-config
[build]: https://img.shields.io/github/actions/workflow/status/TrigenSoftware/scripts/tests.yml?branch=main
[build-url]: https://github.com/TrigenSoftware/scripts/actions
Trigen's npm-package-json-lint config.
## Install
```bash
pnpm add -D @trigen/npm-package-json-lint-config
# or
yarn add -D @trigen/npm-package-json-lint-config
# or
npm i -D @trigen/npm-package-json-lint-config
```
## Configure
Create `.npmpackagejsonlintrc.json` with next content:
```json
{
"extends": "@trigen/npm-package-json-lint-config"
}
```
for monorepos:
```json
{
"extends": [
"@trigen/npm-package-json-lint-config",
"@trigen/npm-package-json-lint-config/monorepo"
]
}
```