Skip to content

Commit 05be11b

Browse files
authored
Merge pull request #904 from thestelz/patch-1
fix: fix inabled typo to enabled
2 parents 96f32f2 + c81dcd2 commit 05be11b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/modules/ROOT/pages/cops_rails.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ using `Object#blank?` defined by Active Support.
868868

869869
Interaction with `Style/UnlessElse`:
870870
The configuration of `NotPresent` will not produce an offense in the
871-
context of `unless else` if `Style/UnlessElse` is inabled. This is
871+
context of `unless else` if `Style/UnlessElse` is enabled. This is
872872
to prevent interference between the autocorrection of the two cops.
873873

874874
=== Safety
@@ -3959,7 +3959,7 @@ using `Object#present?` defined by Active Support.
39593959

39603960
Interaction with `Style/UnlessElse`:
39613961
The configuration of `NotBlank` will not produce an offense in the
3962-
context of `unless else` if `Style/UnlessElse` is inabled. This is
3962+
context of `unless else` if `Style/UnlessElse` is enabled. This is
39633963
to prevent interference between the autocorrection of the two cops.
39643964

39653965
=== Examples

lib/rubocop/cop/rails/blank.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Rails
88
#
99
# Interaction with `Style/UnlessElse`:
1010
# The configuration of `NotPresent` will not produce an offense in the
11-
# context of `unless else` if `Style/UnlessElse` is inabled. This is
11+
# context of `unless else` if `Style/UnlessElse` is enabled. This is
1212
# to prevent interference between the autocorrection of the two cops.
1313
#
1414
# @safety

lib/rubocop/cop/rails/present.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Rails
88
#
99
# Interaction with `Style/UnlessElse`:
1010
# The configuration of `NotBlank` will not produce an offense in the
11-
# context of `unless else` if `Style/UnlessElse` is inabled. This is
11+
# context of `unless else` if `Style/UnlessElse` is enabled. This is
1212
# to prevent interference between the autocorrection of the two cops.
1313
#
1414
# @example NotNilAndNotEmpty: true (default)

0 commit comments

Comments
 (0)