diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..ffe6122c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,23 @@ +name: Suggest an improvement or new feature +description: ——— +labels: enhancement +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: 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 diff --git a/.github/ISSUE_TEMPLATE/issue.yml b/.github/ISSUE_TEMPLATE/issue.yml new file mode 100644 index 00000000..6bab8dac --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue.yml @@ -0,0 +1,30 @@ +name: Report a bug +description: ——— +labels: bug +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