meta.unsatisfiable.unsatisfiable-rule

225
Download Count*

You can not use $A and not $A together; this will always be empty

Run Locally

Run in CI

Defintion

rules:
  - id: unsatisfiable-rule
    message: |
      You can not use $A and not $A together; this will always be empty
    severity: ERROR
    languages:
      - yaml
    patterns:
      - pattern-inside: "rules: [..., $RULE, ...]"
      - pattern-inside: |
          ...
          - pattern: $A
          ...
      - pattern: |
          pattern-not: $A