diff options
author | Jeff King <peff@peff.net> | 2022-10-05 17:11:02 +0300 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2022-10-05 17:11:45 +0300 |
commit | 6d1528a52ad17f07a70b05ce7729652808388033 (patch) | |
tree | 33c0f940952ac8028a869c9d9afb78f3150822d8 | |
parent | a1b093e6463d3eeaae38938a09dab2fe0007581e (diff) |
rubocop: ignore Lint/EmptyBlock for test scripts
We have fabricators and factories that are empty. I'm sure these could
be rearranged, but I don't think it's worth spending time to figure out
how they work (maybe somebody more familiar with them could do so
easily).
-rw-r--r-- | .rubocop.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index c17b6336..b0e6ea31 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -64,3 +64,8 @@ Metrics: Lint/ShadowingOuterLocalVariable: Enabled: false + +Lint/EmptyBlock: + Exclude: + - spec/**/* + - test/**/* |