-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LINT: (Public API) Add semantic-imports
rule
#29
Labels
help wanted
Extra attention is needed
Milestone
Comments
azinit
changed the title
LINT: Public API boundaries (restrict-relative)
LINT: (Public API) Add Feb 2, 2022
semantic-imports
rule
3 tasks
I built something a bit similar for my company's custom eslint-plugin, mine is a typescript specific plugin but you can probably adapt the code to build this check. https://github.com/tablecheck/tablecheck-react-system/blob/refactor-to-vite-and-typescript/packages/eslint-plugin/src/shortestImport.ts |
@SimeonC Thanks! ❤️ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Glossary
entity/foo <-> entity/bar
,entity/foo <-> shared/ui/button
entity/foo <-> entity/foo/ui
,entity/foo/ui/smth <-> entitiy/foo/lib
Description
Example
Reference
feature-sliced/documentation#52 (reply in thread)
The text was updated successfully, but these errors were encountered: