Closed AlexandrHoroshih closed 2 years ago
Thanks for issue!
For a while you can customize your boundaries manually:
{
"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",
]
}
@Krakazybik SLA 40 MIN, KARL! 🚀
@AlexandrHoroshih JFYI, I've published new patch version - 0.1.0-alpha.1
You can try to use it with this bugfix
If problem remained, reopen issue ✊
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 issue