Skip to content

Add support for regex pattern in the option of the rule.#6092

Merged
SimplyDanny merged 7 commits intorealm:mainfrom
Ueeek:improvement/fileNameExcludeImprovement
Jun 25, 2025
Merged

Add support for regex pattern in the option of the rule.#6092
SimplyDanny merged 7 commits intorealm:mainfrom
Ueeek:improvement/fileNameExcludeImprovement

Conversation

@Ueeek
Copy link
Contributor

@Ueeek Ueeek commented Jun 14, 2025

Resolve #6066

@Ueeek Ueeek force-pushed the improvement/fileNameExcludeImprovement branch from 338520a to a4bc8e9 Compare June 14, 2025 00:02
@SwiftLintBot
Copy link

SwiftLintBot commented Jun 14, 2025

18 Messages
📖 Building this branch resulted in a binary size of 25221.51 KiB vs 25221.15 KiB when built on main (0% larger).
📖 Linting Aerial with this PR took 1.59 s vs 1.03 s on main (54% slower).
📖 Linting Alamofire with this PR took 1.38 s vs 1.38 s on main (0% slower).
📖 Linting Brave with this PR took 9.56 s vs 9.58 s on main (0% faster).
📖 Linting DuckDuckGo with this PR took 24.91 s vs 24.85 s on main (0% slower).
📖 Linting Firefox with this PR took 11.82 s vs 11.79 s on main (0% slower).
📖 Linting Kickstarter with this PR took 10.86 s vs 10.81 s on main (0% slower).
📖 Linting Moya with this PR took 0.56 s vs 0.56 s on main (0% slower).
📖 Linting NetNewsWire with this PR took 3.16 s vs 3.16 s on main (0% slower).
📖 Linting Nimble with this PR took 0.84 s vs 0.84 s on main (0% slower).
📖 Linting PocketCasts with this PR took 8.93 s vs 9.09 s on main (1% faster).
📖 Linting Quick with this PR took 0.49 s vs 0.5 s on main (2% faster).
📖 Linting Realm with this PR took 4.78 s vs 4.76 s on main (0% slower).
📖 Linting Sourcery with this PR took 2.43 s vs 2.43 s on main (0% slower).
📖 Linting Swift with this PR took 5.53 s vs 5.53 s on main (0% slower).
📖 Linting VLC with this PR took 1.47 s vs 1.46 s on main (0% slower).
📖 Linting Wire with this PR took 22.21 s vs 22.23 s on main (0% faster).
📖 Linting WordPress with this PR took 12.81 s vs 12.8 s on main (0% slower).

Generated by 🚫 Danger

@Ueeek Ueeek force-pushed the improvement/fileNameExcludeImprovement branch from a4bc8e9 to 7dd38f9 Compare June 16, 2025 12:36
Copy link
Collaborator

@SimplyDanny SimplyDanny left a comment

Choose a reason for hiding this comment

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

Thank you for the implementation!

Please consider my remarks mainly about error handling in case of invalid exclude patterns.

@Ueeek Ueeek force-pushed the improvement/fileNameExcludeImprovement branch from 7dd38f9 to d190ac4 Compare June 21, 2025 07:30
@Ueeek Ueeek requested a review from SimplyDanny June 21, 2025 07:30
@Ueeek Ueeek marked this pull request as draft June 21, 2025 07:37
@Ueeek Ueeek marked this pull request as ready for review June 21, 2025 08:04
@Ueeek Ueeek requested a review from SimplyDanny June 21, 2025 23:49
@SimplyDanny SimplyDanny force-pushed the improvement/fileNameExcludeImprovement branch from bf4066e to 4001b4c Compare June 24, 2025 20:26
@SimplyDanny
Copy link
Collaborator

Rebased to take new required build steps into account.

Copy link
Collaborator

@SimplyDanny SimplyDanny left a comment

Choose a reason for hiding this comment

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

Should be good to go now. Thanks again for all the work, @Ueeek!

@Ueeek
Copy link
Contributor Author

Ueeek commented Jun 24, 2025

@SimplyDanny Thank you so much for your review and help😁😁

@SimplyDanny SimplyDanny merged commit e65767b into realm:main Jun 25, 2025
20 checks passed
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.

Support regex pattern matching for file_name excluded array in configuration file

3 participants