Skip to content

config/rails: Broader ERB exclude paths - #126

Merged
issyl0 merged 1 commit into
mainfrom
upstream-erb-exclude-paths
Oct 19, 2022
Merged

config/rails: Broader ERB exclude paths#126
issyl0 merged 1 commit into
mainfrom
upstream-erb-exclude-paths

Conversation

@issyl0

Copy link
Copy Markdown
Member
  • 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
issyl0force-pushed the upstream-erb-exclude-paths branch from 6a5a609 to f899ecfCompareOctober 19, 2022 10:59
- 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
issyl0force-pushed the upstream-erb-exclude-paths branch from f899ecf to 5631e22CompareOctober 19, 2022 11:01
@issyl0
issyl0 merged commit e9af3d9 into mainOct 19, 2022
@issyl0
issyl0 deleted the upstream-erb-exclude-paths branch October 19, 2022 11:14
Sign up for freeto 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

@issyl0@elenatanasoiu