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

Auto-detect the source code root if no paths are passed #40

Open
illright opened this issue Jun 24, 2024 · 1 comment · May be fixed by #147
Open

Auto-detect the source code root if no paths are passed #40

illright opened this issue Jun 24, 2024 · 1 comment · May be fixed by #147
Assignees
Labels
PRIORITY | LOW Can wait until after release TYPE | enhancement New feature or request
Milestone

Comments

@illright
Copy link
Member

Currently, if you pass no paths, the CLI fails, that's not great. Make it detect the most optimal place to run and notify that this is the folder that is used as the root

@illright illright added TYPE | enhancement New feature or request PRIORITY | LOW Can wait until after release labels Jun 24, 2024
@illright
Copy link
Member Author

One issue with this is that this detection is quite architecture-specific, so we can't bake the FSD root detection algorithm into the Steiger core. Our choices then are:

  • to simplify detection, like finding a src or app folder
  • to make plugins provide their own routine for optimal start location (this kind of effort is hard to justify)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PRIORITY | LOW Can wait until after release TYPE | enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants