You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
{"extends": ["@feature-sliced/eslint-config/rules/import-order","@feature-sliced/eslint-config/rules/layers-slices",// Related with bug => "@feature-sliced/eslint-config/rules/public-api",]}
I have an app with
react, effector, patronum, antd
and bunch of other stuffAfter i had added
@feature-sliced/eslint-config
, errors like this started to appear: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 issueThe text was updated successfully, but these errors were encountered: