Skip to content

How to ignore/disable rules for specific matches #2222

Answered by josephearl
josephearl asked this question in Q&A
Discussion options

You must be logged in to vote

To answer my own question, need to add

overrides:
  - files:
      - "/path/to/openapi.yaml#/components/schemas/AnObject/properties/thePropertyName"
    rules:
      custom-object-properties-rule: "off"

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rustonaut
Comment options

Answer selected by josephearl
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants