.rubocop_todo.yml in trix-0.10.1 vs .rubocop_todo.yml in trix-0.10.2
- old
+ new
@@ -1,6 +1,55 @@
+# This configuration was generated by
+# `rubocop --auto-gen-config`
+# on 2017-07-08 12:31:28 -0400 using RuboCop version 0.49.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:
- Enabled: false
+ Max: 20
+
+# Offense count: 11
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+# URISchemes: http, https
Metrics/LineLength:
Max: 110
+
+# Offense count: 8
Style/Documentation:
- Enabled: false
+ Exclude:
+ - 'spec/**/*'
+ - 'test/**/*'
+ - 'lib/formtastic/inputs/trix_editor_input.rb'
+ - 'lib/trix.rb'
+ - 'lib/trix/engine.rb'
+ - 'lib/trix/form.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