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

Support detecting controllers that don't end with the _controller suffix in the filename #52

Closed
marcoroth opened this issue Feb 10, 2024 · 0 comments · Fixed by #66
Closed
Labels
enhancement New feature or request

Comments

@marcoroth
Copy link
Owner

marcoroth commented Feb 10, 2024

Most people follow the convention of having the controllers in a **/**/controllers/ folder and having the filename end with the _controller.{js,ts} suffix. Though there are still cases where people don't or cannot follow this convention.

In order to still support that we would need to look into all *.js or *.ts in a project and check if they somehow reference Stimulus controllers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant