rubocop: Ensure there are no spaces in block parameters
This commit is contained in:
parent
a695caded4
commit
be1d9eafe5
@ -6,14 +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: 8
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyleInsidePipes.
|
||||
# SupportedStylesInsidePipes: space, no_space
|
||||
Layout/SpaceAroundBlockParameters:
|
||||
Exclude:
|
||||
- '_plugins/glossary.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Layout/SpaceAroundKeyword:
|
||||
|
||||
@ -130,12 +130,12 @@ module Jekyll
|
||||
end
|
||||
|
||||
devsearches_json = []
|
||||
site.config["devsearches"].each {| cat, items |
|
||||
site.config["devsearches"].each {|cat, items|
|
||||
devsearches_data_item = {}
|
||||
|
||||
if cat == "Glossary"
|
||||
items.each {| lang, list |
|
||||
list.each {| el |
|
||||
items.each {|lang, list|
|
||||
list.each {|el|
|
||||
flat = el.flatten
|
||||
devsearches_json.push({
|
||||
"label" => flat[0],
|
||||
@ -147,7 +147,7 @@ module Jekyll
|
||||
# puts list
|
||||
}
|
||||
else
|
||||
items.each {| el |
|
||||
items.each {|el|
|
||||
flat = el.flatten
|
||||
devsearches_json.push({
|
||||
"label" => flat[0],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user