config/.base_rubocop.yml in fablicop-1.10.2 vs config/.base_rubocop.yml in fablicop-1.10.3
- old
+ new
@@ -96,14 +96,14 @@
Enabled: false
Style/DefWithParentheses:
Enabled: false
-# This might not be a style cop because errors happen due to the order of tests with nested classes/modules.
+# fablicop assumes the application is built with Ruby on Rails, which regards the directories as namespaces.
+# Thus, we don't care our constants are defined in compact/nested style.
+# @see https://guides.rubyonrails.org/autoloading_and_reloading_constants.html#project-structure
Style/ClassAndModuleChildren:
- Exclude:
- - "test/**/*.rb"
- - "spec/**/*.rb"
+ Enabled: false
# Sometimes, 1000 is better than 1_000. Especially, it's useful to run grep(1) for searching `1000`.
Style/NumericLiterals:
Enabled: false