eslint-plugin-monorepo-dependencies
v1.0.0
Published
Monorepo dependency rules to keep your dependencies in check
Downloads
3
Maintainers
Readme
Installation
$ yarn add --dev eslint eslint-plugin-jest
Note: If you installed ESLint globally then you must also install
eslint-plugin-jest
globally.
Usage
Add monorepo-dependencies
to the plugins section of your .eslintrc
configuration file. You
should omit the eslint-plugin-
prefix:
{
"plugins": ["monorepo-dependencies"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"monorepo-dependencies/no-unlisted-package-import": "error"
}
}
Rules
| Rule | Description | Configurations | Fixable | | ---------------------------------------------------------------------------- | --------------------------------------------------------------- | ---------------- | ------------ | | no-unlisted-package-import | Enforce valid titles | | |
Credit
LICENSE
MIT