core.yml in ws-style-6.13.25 vs core.yml in ws-style-6.14.0
- old
+ new
@@ -10,10 +10,13 @@
merge:
- AllowedNames
- Exclude
AllCops:
+ NewCops: disable
+
+AllCops:
Exclude:
- "bin/**/*"
- "data/**/*"
- "db/data/**/*"
- "db/migrate/**/*"
@@ -84,11 +87,11 @@
Metrics/CyclomaticComplexity:
Max: 7
Metrics/MethodLength:
- IgnoredMethods: ["extended"]
+ AllowedMethods: ["extended"]
Max: 25
Metrics/ModuleLength:
Exclude:
- "spec/**/*"
@@ -568,5 +571,80 @@
EnforcedShorthandSyntax: never
# rubocop-rspec 2.7
RSpec/FactoryBot/SyntaxMethods:
Enabled: False
+
+# rubocop 1.26
+Style/NestedFileDirname:
+ Enabled: True
+
+# rubocop 1.27
+Lint/RefinementImportMethods:
+ Enabled: True
+
+Style/RedundantInitialize:
+ Enabled: True
+
+# rubocop 1.28
+Security/CompoundHash:
+ Enabled: True
+
+Style/FetchEnvVar:
+ Enabled: True
+
+Style/ObjectThen:
+ Enabled: True
+
+# rubocop 1.29
+Style/EnvHome:
+ Enabled: True
+
+# rubocop 1.30
+Style/MapCompactWithConditionalBlock:
+ Enabled: True
+
+# rubocop 1.31
+Layout/LineContinuationLeadingSpace:
+ Enabled: True
+
+Layout/LineContinuationSpacing:
+ Enabled: True
+
+Lint/ConstantOverwrittenInRescue:
+ Enabled: True
+
+Lint/NonAtomicFileOperation:
+ Enabled: True
+
+# rubocop 1.32
+Lint/RequireRangeParentheses:
+ Enabled: True
+
+Style/EmptyHeredoc:
+ Enabled: True
+
+# rubocop 1.35
+Style/MagicCommentFormat:
+ Enabled: True
+
+# rubocop-rspec 2.10.0
+RSpec/VerifiedDoubleReference:
+ Enabled: True
+
+# rubocop-rspec 2.11.0
+RSpec/ChangeByZero:
+ Enabled: True
+
+# rubocop-rspec 2.12
+RSpec/Capybara/SpecificMatcher:
+ Enabled: False
+
+RSpec/Rails/HaveHttpStatus:
+ Enabled: True
+
+# rubocop-rspec 2.9.0
+RSpec/BeEq:
+ Enabled: True
+
+RSpec/BeNil:
+ Enabled: True