Skip to content

Commit

Permalink
Add issue template (#672)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <[email protected]>
  • Loading branch information
Borewit and sindresorhus committed Sep 12, 2024
1 parent 5ce98f3 commit a33e2de
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Bug Report
description: Report bugs or issues.
body:
- type: textarea
attributes:
label: Description
validations:
required: true
- type: checkboxes
attributes:
label: Existing Issue Check
description: Please search for existing issues to avoid duplicates.
options:
- label: 'I have searched the existing issues and could not find any related to my problem.'
required: true
- type: checkboxes
attributes:
label: ESM (ECMAScript Module) Requirement Acknowledgment
description: This package is an ECMAScript Module (ESM) only. CommonJS is **not** supported.
options:
- label: 'My project is an [ESM project](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) and my `package.json` contains the following entry: `"type": "module"`.'
required: true
- type: checkboxes
attributes:
label: File-Type Scope Acknowledgment
description: This package is designed to detect well-known **binary**-based file types only.
options:
- label: 'I understand that file-type detects binary file types and not text or other formats.'
required: true

0 comments on commit a33e2de

Please sign in to comment.