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

config/rails: Broader ERB exclude paths #126

Merged
merged 1 commit into from
Oct 19, 2022
Merged

Conversation

issyl0
Copy link
Member

@issyl0 issyl0 commented Oct 18, 2022

  • Yes, by default Rails has app/views/**/*.erb, but ERB can also be elsewhere in the codebase.
  • This avoids users (of the Rails configs of this gem) from having to manually add other ERB exclusions, since these cops don't reliably play nicely with any ERB regardless of where it lives.

- Yes, by default Rails has `app/views/**/*.erb`, but ERB can also be
  elsewhere in the codebase.
- This avoids users (of the Rails configs of this gem) from having to
  manually add other ERB exclusions, since these cops don't reliably
  play nicely with any ERB regardless of where it lives.
@issyl0 issyl0 merged commit e9af3d9 into main Oct 19, 2022
@issyl0 issyl0 deleted the upstream-erb-exclude-paths branch October 19, 2022 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants