Skip to content

Commit

Permalink
CLOUDP-278627: Update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
blva committed Oct 30, 2024
1 parent b3607d7 commit 927caea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/spectral/.spectral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,8 @@ rules:
- field: additionalServices
function: pattern
functionOptions:
match: "^(mms)$"
message: "'additionalServices' must be 'mms' as no other services are supported."

match: "^mms(,[a-zA-Z0-9_-]+)*$"
message: "'additionalServices' must start with 'mms' and can include additional services in a comma-separated format."
no-slash-before-custom-method:
description: "Custom methods (e.g., ':applyItem') should not be preceded by a '/'."
message: "The path '{{path}}' contains a '/' before a custom method. Custom methods should not start with a '/'."
Expand Down

0 comments on commit 927caea

Please sign in to comment.