Skip to content

Commit b7df99a

Browse files
committed
Some executive decisions on styling
1 parent a7920eb commit b7df99a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.rubocop.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Metrics/LineLength:
44

55
Style/ConditionalAssignment:
66
SingleLineConditionsOnly: true
7+
EnforcedStyle: assign_inside_condition
78

89
Style/Encoding:
910
EnforcedStyle: when_needed
@@ -43,7 +44,7 @@ Style/DotPosition:
4344
Description: Checks the position of the dot in multi-line method calls.
4445
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
4546
Enabled: true
46-
EnforcedStyle: trailing
47+
EnforcedStyle: leading
4748
SupportedStyles:
4849
- leading
4950
- trailing
@@ -184,7 +185,7 @@ Lint/AssignmentInCondition:
184185
AllowSafeAssignment: true
185186
Style/InlineComment:
186187
Description: Avoid inline comments.
187-
Enabled: false
188+
Enabled: true
188189
Style/AccessorMethodName:
189190
Description: Check the naming of accessor methods for get_/set_.
190191
Enabled: false

0 commit comments

Comments
 (0)