Skip to content

Commit

Permalink
Suppress Naming/InclusiveLanguage warn
Browse files Browse the repository at this point in the history
  • Loading branch information
MarttiCheng committed Jun 23, 2021
1 parent 7b74eb4 commit 48174d6
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 @@ -18,6 +18,19 @@ AllCops:
InternalAffairs/NodeMatcherDirective:
Enabled: false

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

Naming/PredicateName:
# Method define macros for dynamically generated method.
MethodDefinitionMacros:
Expand Down
2 changes: 1 addition & 1 deletion tasks/cut_release.rake
Expand Up @@ -39,7 +39,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 48174d6

Please sign in to comment.