rubocop: allow all current core formula names.

This commit is contained in:
Mike McQuaid 2016-09-23 20:01:44 +01:00
parent dd393c73ed
commit 2714b163f4

View File

@ -116,7 +116,7 @@ Style/FileName:
# FILENAME.rb (ARGV and ENV) # FILENAME.rb (ARGV and ENV)
# does not match: # does not match:
# dashes-and_underscores.rb # dashes-and_underscores.rb
Regex: !ruby/regexp /^((([\dA-Z]+|[\da-z]+)(_([\dA-Z]+|[\da-z]+))*|(\-\-)?([\dA-Z]+|[\da-z]+)(-([\dA-Z]+|[\da-z]+))*))(\.rb)?$/ Regex: !ruby/regexp /^((([\dA-Z]+|[\da-z\+]+)(_([\dA-Z]+|[\da-z\+]+))*|(\-\-)?([\dA-Z]+|[\da-z\+\.]+)([-@]([\dA-Z]+|[\da-z\+\.]+))*))(\.rb)?$/
# no percent word array, being friendly to non-ruby users # no percent word array, being friendly to non-ruby users
# TODO: enforce when rubocop has fixed this # TODO: enforce when rubocop has fixed this