Skip to content

Commit

Permalink
Suppress Naming/InclusiveLanguage warn
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Jun 23, 2021
1 parent c66add2 commit b91f0c6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .rubocop.yml
Expand Up @@ -23,6 +23,19 @@ Naming/PredicateName:
- def_node_matcher
- def_node_search

Naming/InclusiveLanguage:
FlaggedTerms:
whitelist:
Suggestions:
- allowlist
blacklist:
Suggestions:
- denylist
master:
AllowedRegex:
- 'blob/master/'
- 'master \(unreleased\)'

Style/FormatStringToken:
# Because we parse a lot of source codes from strings. Percent arrays
# look like unannotated format string tokens to this cop.
Expand Down
2 changes: 1 addition & 1 deletion tasks/cut_release.rake
Expand Up @@ -40,7 +40,7 @@ namespace :cut_release do

File.open('docs/antora.yml', 'w') do |f|
f << antora_metadata.sub(
'version: master',
'version: master', # rubocop:disable Naming/InclusiveLanguage
"version: '#{version_sans_patch(new_version)}'"
)
end
Expand Down

0 comments on commit b91f0c6

Please sign in to comment.