aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-09-23 20:01:44 +0100
committerMike McQuaid2016-09-23 20:30:07 +0100
commit2714b163f44c5d5580b0e535b17a41623005af69 (patch)
tree7b483758d5152cb51d2bf09b87ee138289c81dcd /Library
parentdd393c73ed176450d4e825ecd831912b3b15f097 (diff)
downloadbrew-2714b163f44c5d5580b0e535b17a41623005af69.tar.bz2
rubocop: allow all current core formula names.
Diffstat (limited to 'Library')
-rw-r--r--Library/.rubocop_rules.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/.rubocop_rules.yml b/Library/.rubocop_rules.yml
index 11349b8dc..e8a966e60 100644
--- a/Library/.rubocop_rules.yml
+++ b/Library/.rubocop_rules.yml
@@ -116,7 +116,7 @@ Style/FileName:
# FILENAME.rb (ARGV and ENV)
# does not match:
# 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
# TODO: enforce when rubocop has fixed this