name: "\U0001F41E Report a problem"
description: 'Report an issue with a rule'
title: 'Bug: (fill in)'
labels:
  - bug
  - 'repro:needed'
body:
  - type: markdown
    attributes:
      value: By opening an issue, you agree to abide by the [Open JS Foundation Code of Conduct](https://eslint.org/conduct).
  - type: input
    attributes:
      label: What version of eslint-plugin-security are you using?
    validations:
      required: true
  - type: textarea
    attributes:
      label: ESLint Environment
      description: |
        Please tell us about how you're running ESLint (Run `npx eslint --env-info`.)
      value: |
        Node version: 
        npm version: 
        Local ESLint version: 
        Global ESLint version: 
        Operating System:
    validations:
      required: true
  - type: dropdown
    attributes:
      label: What parser are you using?
      description: |
        Please keep in mind that some problems are parser-specific.
      options:
        - 'Default (Espree)'
        - '@typescript-eslint/parser'
        - '@babel/eslint-parser'
        - 'vue-eslint-parser'
        - '@angular-eslint/template-parser'
        - Other
    validations:
      required: true
  - type: textarea
    attributes:
      label: What did you do?
      description: |
        Please include a *minimal* reproduction case. If possible, include a link to a reproduction of the problem in the [ESLint demo](https://eslint.org/demo). Otherwise, include source code, configuration file(s), and any other information about how you're using ESLint. You can use Markdown in this field.
      value: |
        <details>
        <summary>Configuration</summary>

        ```
        <!-- Paste your configuration here -->
        ```
        </details>

        ```js
        <!-- Paste your code here -->
        ```
    validations:
      required: true
  - type: textarea
    attributes:
      label: What did you expect to happen?
      description: |
        You can use Markdown in this field.
    validations:
      required: true
  - type: textarea
    attributes:
      label: What actually happened?
      description: |
        Please copy-paste the actual ESLint output. You can use Markdown in this field.
    validations:
      required: true
  - type: checkboxes
    attributes:
      label: Participation
      options:
        - label: I am willing to submit a pull request for this issue.
          required: false
  - type: textarea
    attributes:
      label: Additional comments
      description: Is there anything else that's important for the team to know?
