README
eslint-plugin-packages
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";