Skip to content

feat: add ignore field to View scopes for rule filtering#1071

Closed
jyaguem wants to merge 1 commit intovale-cli:v3from
jyaguem:v3
Closed

feat: add ignore field to View scopes for rule filtering#1071
jyaguem wants to merge 1 commit intovale-cli:v3from
jyaguem:v3

Conversation

@jyaguem
Copy link

@jyaguem jyaguem commented Feb 4, 2026

Allow specifying rules to skip when linting specific YAML keys in Views. This enables ignoring certain rules (e.g., spelling) for metadata fields while still applying them to content fields like descriptions.

Example usage in a View file:

  scopes:
    - name: metadata 
      expr: name 
      ignore: 
        - Vale.Spelling

Allow specifying rules to skip when linting specific YAML keys in Views.
This enables ignoring certain rules (e.g., spelling) for metadata fields
while still applying them to content fields like descriptions.

Example usage in a View file:
  scopes:
    - name: metadata
      expr: name
      ignore:
        - Vale.Spelling

Co-authored-by: Cursor <cursoragent@cursor.com>
@jdkato
Copy link
Member

jdkato commented Feb 10, 2026

This should be done in the other direction: scopes don't choose their rules, rules choose their scopes. See https://vale.sh/docs/scopes#selectors

@jdkato jdkato closed this Feb 10, 2026
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