1.1.2 • Published 3 years ago

eslint-plugin-packages v1.1.2

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

eslint-plugin-packages Build Status

Manage your monorepo with eslint

Rules

module-boundary:

  • Cannot reach into top-level @app packages
  • Cannot import from the same package

module-boundary

This rule will check all import/require to ensure it does not reach into a top-level packages folder

Valid

import { actionCreators } from "@app/thread";

Invalid

import { actionCreators } from "@app/thread/message";

circular-imports

Valid

// ./packages/mail/something.js
import { actionCreators } from "@app/thread";

Invalid

// ./packages/thread/something.js
import { actionCreators } from "@app/thread";
1.1.2

3 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago