yaml.semgrep.consistency.lang-consistency-elixir.lang-consistency-elixir

profile photo of returntocorpreturntocorp
Author
unknown
Download Count*

Found '$X' in language config which diverges from semgrep.dev normalization. Please use 'elixir' instead.

Run Locally

Run in CI

Defintion

rules:
  - fix: elixir
    id: lang-consistency-elixir
    languages:
      - yaml
    message: Found '$X' in language config which diverges from semgrep.dev
      normalization. Please use 'elixir' instead.
    metadata:
      category: correctness
      technology:
        - semgrep
      license: Commons Clause License Condition v1.0[LGPL-2.1-only]
    patterns:
      - pattern: $X
      - pattern-inside: "languages: ..."
      - metavariable-regex:
          metavariable: $X
          regex: ^(ex)$
    severity: WARNING