-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lint error for "masterCard" inclusive_language #165
Comments
|
I'd say this is safe to close. I haven't searched for those usages, but being in the |
Hey, thx for the fast reply. Tested with disabling: What version of |
Looks like the problem is the outdated version: danger-ruby-swiftlint/lib/version.rb Line 5 in 7736083
and Mastercard was fixed with 0.42.0 see here:https://github.com/realm/SwiftLint/blob/master/CHANGELOG.md#0420-he-chutes-he-scores Latest version: https://github.com/realm/SwiftLint/releases/tag/0.43.1 |
best would be to add the functionality to specify the version in the danger file e.g.: |
You can set the |
@apps4everyone thank you for your research work 😄 Sounds like you've done most of the hard work already, how would you feel about opening a PR that updates the fallback version to the latest stable SwiftLint to see if everything works fine with that? |
On local Xcode Setup (https://github.com/realm/SwiftLint 0.43.1) the
inclusive_language
hasmasterCard
in theallowance list
.But on CI I get:
Declaration masterCard contains the term "master" which is not considered inclusive.
for:
case masterCard = "MASTERCARD"
The text was updated successfully, but these errors were encountered: