Skip to content

ci: disable code duplication analysis for files under src/spec-types - #918

Merged
asyncapi-bot merged 1 commit into
asyncapi:next-major-specfrom
smoya:ci/disableCodeDuplication
Nov 30, 2023
Merged

asyncapi-bot merged 1 commit into
asyncapi:next-major-specfrom
smoya:ci/disableCodeDuplication

Conversation

@smoya

@smoya smoya commented Nov 30, 2023

Copy link
Copy Markdown
Member

Description

Code duplication analysis makes sense most of the time. However, for models and types related with different versions of the spec, duplication is completely expected.
This PR is blocked by such analysis.

This PR adds src/spect-types/*.ts to the previously existing list of exclusions. After that change, SonarCloud analysis should stop complaining about this.

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@smoya

smoya commented Nov 30, 2023

Copy link
Copy Markdown
Member Author

/rtm

@asyncapi-bot
asyncapi-bot merged commit d34cb00 into asyncapi:next-major-spec Nov 30, 2023
@smoya
smoya deleted the ci/disableCodeDuplication branch November 30, 2023 16:51
@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.0.0-next-major-spec.16 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants