README.md in reek-5.3.2 vs README.md in reek-5.4.0
- old
+ new
@@ -307,15 +307,21 @@
### Directory specific configuration
# You can configure smells on a per-directory base.
# E.g. the classic Rails case: controllers smell of NestedIterators (see /docs/Nested-Iterators.md) and
# helpers smell of UtilityFunction (see docs/Utility-Function.md)
-# Note that we only allow configuration on a directory level, not a file level, so all paths have to point to directories.
+#
+# Note that we only allow configuration on a directory level, not a file level,
+# so all paths have to point to directories.
+# A Dir.glob pattern can be used.
directories:
"web_app/app/controllers":
NestedIterators:
enabled: false
- "web_app/app/helpers":
+ "web_app/app/helpers**:
+ UtilityFunction:
+ enabled: false
+ "web_app/lib/**/test/**":
UtilityFunction:
enabled: false
### Excluding directories