enable `Style/UnneededCapitalW` cop (#6526)

Merge pull request 6526
This commit is contained in:
ashmaroli 2017-11-06 18:05:43 +05:30 committed by jekyllbot
parent 17bd584319
commit bb42e6251e
3 changed files with 2 additions and 4 deletions

View File

@ -152,5 +152,3 @@ Style/SymbolArray:
Enabled: false
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/UnneededCapitalW:
Enabled: false

View File

@ -85,7 +85,7 @@ module Jekyll
:StartCallback => start_callback(opts["detach"]),
:BindAddress => opts["host"],
:Port => opts["port"],
:DirectoryIndex => %W(
:DirectoryIndex => %w(
index.htm
index.html
index.rhtml

View File

@ -44,7 +44,7 @@ module Jekyll
# are not in safe mode.)
def valid_processors
%W(rdiscount kramdown redcarpet) + third_party_processors
%w(rdiscount kramdown redcarpet) + third_party_processors
end
# Public: A list of processors that you provide via plugins.