diff options
| author | Markus Reiter | 2016-09-24 17:37:54 +0200 |
|---|---|---|
| committer | GitHub | 2016-09-24 17:37:54 +0200 |
| commit | eb3b94d94a7329d92171b75ea163f139cbf71aa6 (patch) | |
| tree | 0a43cae6cd7da781eb1c3e5c5a22f98e97163096 /Library | |
| parent | 687f0fcf721c8e36f32570ed72d0988a6eaf986f (diff) | |
| parent | 3e4f9559d73010e78b8bdeda483914901f2fbcc6 (diff) | |
| download | brew-eb3b94d94a7329d92171b75ea163f139cbf71aa6.tar.bz2 | |
Merge pull request #1112 from reitermarkus/rubocop-fix-taps
Fix RuboCop for Taps.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/.rubocop_rules.yml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Library/.rubocop_rules.yml b/Library/.rubocop_rules.yml index e8a966e60..b5cb85aba 100644 --- a/Library/.rubocop_rules.yml +++ b/Library/.rubocop_rules.yml @@ -110,13 +110,7 @@ Style/TernaryParentheses: # dashes in filenames are typical Style/FileName: - # matches: - # file_name.rb (default) - # file-name.rb, --filename.rb (command names) - # 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 /^[\w\@\-\+\.]+(\.rb)?$/ # no percent word array, being friendly to non-ruby users # TODO: enforce when rubocop has fixed this |
