Skip to content

Conversation

@diatrcz
Copy link
Contributor

@diatrcz diatrcz commented Dec 18, 2025

PR summary

This PR extends the date-based-utils class with the ability to add exceptions to it. This way false positives like flagging a property ending with depends_on as a date based format can be avoided.
#775

PR Checklist

General checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Dependencies have been updated as needed
  • .secrets.baseline has been updated as needed
  • npm run update-utilities has been run if any files in packages/utilities/src have been updated

Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
@diatrcz diatrcz requested a review from pyrooka December 18, 2025 10:18
Copy link
Member

@pyrooka pyrooka left a comment

Choose a reason for hiding this comment

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

Looks pretty good!

@diatrcz diatrcz merged commit 1797114 into main Dec 19, 2025
7 checks passed
@diatrcz diatrcz deleted the lt/dateformat-fix branch December 19, 2025 10:17
ibm-devx-sdk pushed a commit that referenced this pull request Dec 19, 2025
## @ibm-cloud/openapi-ruleset [1.33.5](https://github.com/IBM/openapi-validator/compare/@ibm-cloud/openapi-ruleset@1.33.4...@ibm-cloud/openapi-ruleset@1.33.5) (2025-12-19)

### Bug Fixes

* **ibm-use-date-based-format:** extend date-based-utils with exceptions ([#776](#776)) ([1797114](1797114))
@ibm-devx-sdk
Copy link

🎉 This PR is included in version 1.33.5 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@ibm-devx-sdk
Copy link

🎉 This PR is included in version 1.37.8 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants