diff options
author | Jeff King <peff@peff.net> | 2022-10-27 22:52:30 +0300 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2022-10-27 22:54:50 +0300 |
commit | 5ac9af96184e8c38f09a684f2853fa4abfc66600 (patch) | |
tree | 20f6658df81361c7d3fb4d94b18d00a202d482d1 | |
parent | 9534d1f39e9f68762ddfefc5a3b087e24864ff65 (diff) |
rubocop: turn off Rails/ContentTag
This cop suggests (and even autocorrects!) an instance of:
tag("img", options)
to change into:
tag.img(options)
But as discussed in https://github.com/git/git-scm.com/pull/1742,
this actually breaks the call!
I'm still puzzled about why this is. But I find that I don't care enough
to investigate deeply, and it would be useful to have CI on "main"
actually pass, so unrelated pull requests aren't confused into thinking
they broke something. So let's just disable the cop for now.
-rw-r--r-- | .rubocop.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index ec1ae45b..a7d05a71 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -73,3 +73,6 @@ Lint/EmptyBlock: Exclude: - spec/**/* - test/**/* + +Rails/ContentTag: + Enabled: false |