rubocop: Remove extra space within array brackets
This commit is contained in:
parent
bb4384e21c
commit
5a0393e9b9
@ -6,15 +6,6 @@
|
||||
# Note that changes in the inspected code, or installation of new
|
||||
# versions of RuboCop, may require this file to be generated again.
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
||||
# SupportedStyles: space, no_space, compact
|
||||
# SupportedStylesForEmptyBrackets: space, no_space
|
||||
Layout/SpaceInsideArrayLiteralBrackets:
|
||||
Exclude:
|
||||
- '_contrib/updatetx.rb'
|
||||
|
||||
# Offense count: 13
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
||||
|
||||
@ -24,7 +24,7 @@ if !File.exist?('_translations/' + lang + '.yml')
|
||||
exit
|
||||
end
|
||||
|
||||
dirs = [ '_templates', '_layouts' ]
|
||||
dirs = ['_templates', '_layouts']
|
||||
|
||||
dirs.each do |dir|
|
||||
Dir.foreach(dir) do |file|
|
||||
|
||||
Loading…
Reference in New Issue
Block a user