1.0.0 • Published 3 years ago

eslint-plugin-monorepo-dependencies v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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

RuleDescriptionConfigurationsFixable
no-unlisted-package-importEnforce valid titlesrecommended

Credit

LICENSE

MIT