Skip to content
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

import-locality is not exist #142

Open
meeof opened this issue Dec 9, 2024 · 3 comments
Open

import-locality is not exist #142

meeof opened this issue Dec 9, 2024 · 3 comments
Milestone

Comments

@meeof
Copy link

meeof commented Dec 9, 2024

the option "import-locality" described in the documentation is not exist in the package

@illright
Copy link
Member

illright commented Dec 9, 2024

Perhaps it's because you need to add fsd/ before the rule name? Sorry for the confusion, we should update the readme

@meeof
Copy link
Author

meeof commented Dec 9, 2024

i tried this

Invalid configuration in steiger.config.js: Required at "[2].ignores", or Invalid enum value. Expected 'fsd/ambiguous-slice-names' | 'fsd/excessive-slicing' | 'fsd/forbidden-imports' | 'fsd/inconsisten
t-naming' | 'fsd/insignificant-slice' | 'fsd/no-layer-public-api' | 'fsd/no-public-api-sidestep' | 'fsd/no-reserved-folder-names' | 'fsd/no-segmentless-slices' | 'fsd/no-segments-on-sliced-layers' | 'f
sd/no-ui-in-app' | 'fsd/public-api' | 'fsd/repetitive-naming' | 'fsd/segments-by-purpose' | 'fsd/shared-lib-grouping' | 'fsd/typo-in-layer-name' | 'fsd/no-processes', received 'fsd/import-locality' at "[2].rules.fsd/import-locality", or Required at "[2].meta"; Required at "[2].ruleDefinitions"

@illright
Copy link
Member

illright commented Dec 9, 2024

Ah, sorry, I see what the problem is now. We forgot to include that rule in the ruleset. We'll add it in the next release, thanks for noticing!

@daniilsapa daniilsapa added this to the 0.5.4 milestone Dec 9, 2024
@illright illright modified the milestones: 0.5.4, 0.6.0 Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants