config/.base_rubocop.yml in fablicop-1.3.0 vs config/.base_rubocop.yml in fablicop-1.4.0
- old
+ new
@@ -94,23 +94,26 @@
Style/ClassAndModuleChildren:
Exclude:
- "test/**/*.rb"
- "spec/**/*.rb"
-# This style differs from the expression of SQL.
+# Sometimes, 1000 is better than 1_000. Especially, it's useful to run grep(1) for searching `1000`.
Style/NumericLiterals:
- Exclude:
- - "db/fixtures/*.rb"
+ Enabled: false
# We don't care which we use: #yield_self or #then
Style/ObjectThen:
Enabled: false
# We don't care using ENV.fetch or ENV.[]
Style/FetchEnvVar:
Enabled: false
+# We don't care which style we should use.
+Style/IfUnlessModifier:
+ Enabled: false
+
##################### Layout ##################################
# We sometimes want to put multiple spaces before arguments.
Layout/SpaceBeforeFirstArg:
Enabled: false
Layout/SpaceInLambdaLiteral:
@@ -244,6 +247,10 @@
RSpec/NamedSubject:
Enabled: false
# because response validation in `request spec` is expected to result in large rows
RSpec/ExampleLength:
+ Enabled: false
+
+# We don't care about whether using `described_class` or not.
+RSpec/DescribedClass:
Enabled: false