Skip to content

Conversation

@andreaangiolillo
Copy link
Collaborator

Proposed changes

Jira ticket: CLOUDP-#

Closes #[issue number]

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works

Changes to Spectral

  • I have read the README file for Spectral Updates

Further comments

@andreaangiolillo andreaangiolillo changed the title fix Example of a custom JS spectral rule Nov 11, 2024
Comment on lines +5 to +8
functionsDir: './functions'
functions:
- path-name-collisions

Copy link
Collaborator Author

@andreaangiolillo andreaangiolillo Nov 11, 2024

Choose a reason for hiding this comment

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

adding my custom rule

Comment on lines +23 to +24
no-overlapping-paths:
description: "Checks for overlapping paths with path parameters that may shadow each other."
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

adding the rule for linting

@andreaangiolillo andreaangiolillo deleted the CLOUDP-274765 branch December 12, 2024 13:43
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.

2 participants