Skip to content
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

Fix false positive in empty_string rule with multiline literals #3101

Merged
merged 1 commit into from
Feb 10, 2020

Conversation

marcelofabri
Copy link
Collaborator

Fixes #3100

@SwiftLintBot
Copy link

SwiftLintBot commented Feb 10, 2020

12 Messages
📖 Linting Aerial with this PR took 0.56s vs 0.51s on master (9% slower)
📖 Linting Alamofire with this PR took 0.83s vs 0.89s on master (6% faster)
📖 Linting Firefox with this PR took 3.73s vs 3.52s on master (5% slower)
📖 Linting Kickstarter with this PR took 5.97s vs 5.87s on master (1% slower)
📖 Linting Moya with this PR took 0.47s vs 0.48s on master (2% faster)
📖 Linting Nimble with this PR took 0.57s vs 0.56s on master (1% slower)
📖 Linting Quick with this PR took 0.32s vs 0.31s on master (3% slower)
📖 Linting Realm with this PR took 0.97s vs 0.99s on master (2% faster)
📖 Linting SourceKitten with this PR took 0.57s vs 0.48s on master (18% slower)
📖 Linting Sourcery with this PR took 2.51s vs 2.43s on master (3% slower)
📖 Linting Swift with this PR took 7.61s vs 7.66s on master (0% faster)
📖 Linting WordPress with this PR took 6.29s vs 6.11s on master (2% slower)

Generated by 🚫 Danger

@marcelofabri marcelofabri force-pushed the mf-empty_string-bugfix branch from 38eb3ed to ccded17 Compare February 10, 2020 09:04
@marcelofabri marcelofabri merged commit 6adf529 into master Feb 10, 2020
@marcelofabri marcelofabri deleted the mf-empty_string-bugfix branch February 10, 2020 16:27
optionalendeavors added a commit to optionalendeavors/SwiftLint that referenced this pull request Jul 12, 2020
* master: (101 commits)
  JUnit reporter for GitLab artifact:report:junit (realm#3177)
  Add empty changelog section
  release 0.39.2
  Update CI to run jobs with Xcode 11.0 to 11.4 (realm#3168)
  Fix false positives in valid_ibinspectable rule when using Swift 5.2 (realm#3155)
  Fix attributes rule false positive with Swift 5.2 (realm#3154)
  Fix CHANGELOG link
  Fix false positives in redundant_objc_attribute with Swift 5.2 (realm#3152)
  Fix false positives on implicit_getter with Swift 5.2+ (realm#3151)
  Simplify regex (realm#3145)
  fix links about configuration rules (realm#3142)
  Add unused_import config options to require imports for each module used (realm#3123)
  Add empty changelog section
  release 0.39.1
  Temporarily remove all SwiftSyntax rules and support (realm#3107)
  Fix unused_import rule reported locations and corrections (realm#3106)
  release 0.39.0
  Fix false positive in `empty_string` rule with multiline literals (realm#3101)
  Fix PrivateActionRule in Swift 5.2 (realm#3092)
  Fix false positive in implicit_getter with Swift 5.2 (realm#3099)
  ...

# Conflicts:
#	Source/SwiftLintFramework/Extensions/SwiftLintFile+Regex.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive in empty_string with multiquote literals
2 participants