Skip to content

Commit

Permalink
chore: update linter rules
Browse files Browse the repository at this point in the history
  • Loading branch information
markbrockhoff committed May 2, 2024
1 parent c92c758 commit 70aabd7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/spectral-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ module.exports = {
"description": "Every route must specify at least one tag it belongs to",
"message": "{{description}}; property tags is missing at: {{path}}",
"severity": "error",
"given": "$.paths[?([email protected](/well-known/ig))].[get,post,put,delete,patch,options,head,trace]",
"given": "$.paths[?([email protected](/well-known/ig))][get,post,put,delete,patch,options,head,trace]",
"then": [{
"field": "tags",
"function": truthy
Expand Down
2 changes: 1 addition & 1 deletion src/spectral-bff.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ module.exports = {
"description": "Every route must specify at least one tag it belongs to",
"message": "{{description}}; property tags is missing at: {{path}}",
"severity": "error",
"given": "$.paths[?([email protected](/well-known/ig))].[get,post,put,delete,patch,options,head,trace]",
"given": "$.paths[?([email protected](/well-known/ig))][get,post,put,delete,patch,options,head,trace]",
"then": [{
"field": "tags",
"function": truthy
Expand Down
2 changes: 1 addition & 1 deletion src/spectral-legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ module.exports = {
"description": "Every route must specify at least one tag it belongs to",
"message": "{{description}}; property tags is missing at: {{path}}",
"severity": "error",
"given": "$.paths[?([email protected](/well-known/ig))].[get,post,put,delete,patch,options,head,trace]",
"given": "$.paths[?([email protected](/well-known/ig))][get,post,put,delete,patch,options,head,trace]",
"then": [{
"field": "tags",
"function": truthy
Expand Down

0 comments on commit 70aabd7

Please sign in to comment.