Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-10-05 17:11:02 +0300
committerJeff King <peff@peff.net>2022-10-05 17:11:45 +0300
commit6d1528a52ad17f07a70b05ce7729652808388033 (patch)
tree33c0f940952ac8028a869c9d9afb78f3150822d8
parenta1b093e6463d3eeaae38938a09dab2fe0007581e (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.yml5
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/**/*