-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
I have an app with react, effector, patronum, antd
and bunch of other stuff
After i had added @feature-sliced/eslint-config
, errors like this started to appear:
2:26 error Reaching to "effector-react/ssr" is not allowed import/no-internal-modules
3:23 error Reaching to "patronum/delay" is not allowed import/no-internal-modules
The problem is that imports like that are perfectly valid and intended by these libraries 🤷♂️
I suggest not to run import/no-internal-modules
rule against imports from node_modules (or against non-feature-sliced paths at all)
Small reproduce: https://stackblitz.com/edit/fs-eslint-false-trigger?file=src/app/index.js
Run npm run lint
in the terminal to see the issue
azinitazinit
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working