.rubocop_todo.yml in trix-0.10.2 vs .rubocop_todo.yml in trix-0.11.0
- old
+ new
@@ -1,55 +1,41 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2017-07-08 12:31:28 -0400 using RuboCop version 0.49.1.
+# on 2017-07-16 12:30:37 -0300 using RuboCop version 0.35.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 1
-# Cop supports --auto-correct.
-Layout/EmptyLineAfterMagicComment:
- Exclude:
- - 'trix.gemspec'
-
-# Offense count: 2
-# Cop supports --auto-correct.
-# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
-Layout/ExtraSpacing:
- Exclude:
- - 'Appraisals'
-
-# Offense count: 1
Metrics/AbcSize:
- Max: 20
+ Max: 22
-# Offense count: 11
-# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
-# URISchemes: http, https
+# Offense count: 10
+# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
- Max: 110
+ Max: 104
-# Offense count: 8
+# Offense count: 1
+# Configuration parameters: CountComments.
+Metrics/MethodLength:
+ Max: 11
+
+# Offense count: 10
+# Configuration parameters: Exclude.
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/formtastic/inputs/trix_editor_input.rb'
- 'lib/trix.rb'
- 'lib/trix/engine.rb'
- 'lib/trix/form.rb'
+ - 'lib/trix/simple_form/trix_editor_input.rb'
+ - 'lib/trix/version.rb'
-# Offense count: 10
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
-# SupportedStyles: single_quotes, double_quotes
-Style/StringLiterals:
- Exclude:
- - 'Appraisals'
-
# Offense count: 1
# Cop supports --auto-correct.
-# Configuration parameters: MinSize, SupportedStyles.
-# SupportedStyles: percent, brackets
-Style/SymbolArray:
- EnforcedStyle: brackets
+# Configuration parameters: PreferredDelimiters.
+Style/PercentLiteralDelimiters:
+ Exclude:
+ - 'spec/trix_editor_helper_spec.rb'