Skip to content

Commit cbf9caf

Browse files
committed
Suppress new InternalAffairs/CopDescription offenses
Follow up rubocop/rubocop#11932. This commit suppresses the following new `InternalAffairs/CopDescription` offenses: ```console $ bundle exec rake (snip) Offenses: lib/rubocop/cop/rails/assert_not.rb:6:1: C: [Correctable] InternalAffairs/CopDescription: Description should not start with an empty comment line. # ... ^^^^^^^ lib/rubocop/cop/rails/refute_methods.rb:6:1: C: [Correctable] InternalAffairs/CopDescription: Description should not start with an empty comment line. # ... ^^^^^^^ lib/rubocop/cop/rails/squished_sql_heredocs.rb:6:1: C: [Correctable] InternalAffairs/CopDescription: Description should not start with an empty comment line. # ... ^^^^^^^ 281 files inspected, 3 offenses detected, 3 offenses autocorrectable RuboCop failed! ```
1 parent 22087e2 commit cbf9caf

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

lib/rubocop/cop/rails/assert_not.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
module RuboCop
44
module Cop
55
module Rails
6-
#
76
# Use `assert_not` instead of `assert !`.
87
#
98
# @example

lib/rubocop/cop/rails/refute_methods.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
module RuboCop
44
module Cop
55
module Rails
6-
#
76
# Use `assert_not` methods instead of `refute` methods.
87
#
98
# @example EnforcedStyle: assert_not (default)

lib/rubocop/cop/rails/squished_sql_heredocs.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
module RuboCop
44
module Cop
55
module Rails
6-
#
76
# Checks SQL heredocs to use `.squish`.
87
#
98
# @safety

0 commit comments

Comments
 (0)