Rubocop syntax 2.3
This commit is contained in:
parent
1c4e866348
commit
9a10c0a8d5
|
@ -5,8 +5,8 @@ require:
|
||||||
inherit_from: .rubocop_todo.yml
|
inherit_from: .rubocop_todo.yml
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
TargetRubyVersion: 2.1
|
TargetRubyVersion: 2.3
|
||||||
# Cop names are not displayed in offense messages by default. Change behavior
|
# Cop names are not d§splayed in offense messages by default. Change behavior
|
||||||
# by overriding DisplayCopNames, or by giving the -D/--display-cop-names
|
# by overriding DisplayCopNames, or by giving the -D/--display-cop-names
|
||||||
# option.
|
# option.
|
||||||
DisplayCopNames: true
|
DisplayCopNames: true
|
||||||
|
@ -192,6 +192,9 @@ Style/FlipFlop:
|
||||||
Style/For:
|
Style/For:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
# Checks if there is a magic comment to enforce string literals
|
||||||
|
Style/FrozenStringLiteralComment:
|
||||||
|
Enabled: false
|
||||||
# Do not introduce global variables.
|
# Do not introduce global variables.
|
||||||
Style/GlobalVars:
|
Style/GlobalVars:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
Loading…
Reference in New Issue