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

[bug fix] expiring todo regex #3597

Merged
merged 4 commits into from
May 2, 2021

Conversation

namolnad
Copy link
Contributor

@namolnad namolnad commented Apr 13, 2021

Currently the regex for the expiring_todo rule requires zero-padded dates. (i.e. 01/01/2021 vs 1/1/2021). This loosens the regex digit searching to allow for dates which are not zero-padded.

@SwiftLintBot
Copy link

SwiftLintBot commented Apr 13, 2021

12 Messages
📖 Linting Aerial with this PR took 0.29s vs 0.26s on master (11% slower)
📖 Linting Alamofire with this PR took 0.31s vs 0.29s on master (6% slower)
📖 Linting Firefox with this PR took 1.26s vs 1.22s on master (3% slower)
📖 Linting Kickstarter with this PR took 1.85s vs 1.84s on master (0% slower)
📖 Linting Moya with this PR took 0.13s vs 0.14s on master (7% faster)
📖 Linting Nimble with this PR took 0.15s vs 0.15s on master (0% slower)
📖 Linting Quick with this PR took 0.1s vs 0.08s on master (25% slower)
📖 Linting Realm with this PR took 0.38s vs 0.39s on master (2% faster)
📖 Linting SourceKitten with this PR took 0.13s vs 0.13s on master (0% slower)
📖 Linting Sourcery with this PR took 0.8s vs 0.79s on master (1% slower)
📖 Linting Swift with this PR took 1.22s vs 1.21s on master (0% slower)
📖 Linting WordPress with this PR took 2.15s vs 2.18s on master (1% faster)

Generated by 🚫 Danger

CHANGELOG.md Outdated Show resolved Hide resolved
@namolnad namolnad force-pushed the fixes/expiring-todo-regex branch from bb2c597 to 3c99131 Compare April 30, 2021 00:14
Copy link
Contributor

@sethfri sethfri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for the contribution!

@sethfri sethfri merged commit dd672b4 into realm:master May 2, 2021
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.

4 participants