diff --git a/.github/DISCUSSION_TEMPLATE/q-a.yml b/.github/DISCUSSION_TEMPLATE/q-a.yaml similarity index 97% rename from .github/DISCUSSION_TEMPLATE/q-a.yml rename to .github/DISCUSSION_TEMPLATE/q-a.yaml index 688e36c..7e81117 100644 --- a/.github/DISCUSSION_TEMPLATE/q-a.yml +++ b/.github/DISCUSSION_TEMPLATE/q-a.yaml @@ -1,4 +1,4 @@ -title: "Q&A" +title: 'Q&A' labels: [] body: - type: markdown diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yaml similarity index 79% rename from .github/ISSUE_TEMPLATE/bug_report.yml rename to .github/ISSUE_TEMPLATE/bug_report.yaml index 99704e8..001e042 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -1,29 +1,31 @@ name: Bug Report description: Report a bug -title: "bug: " +title: 'bug: ' labels: [bug] body: - type: checkboxes attributes: label: Prerequisites options: - - label: I have searched [existing issues](https://github.com/barrettruth/diffs.nvim/issues) + - label: + I have searched [existing + issues](https://github.com/barrettruth/diffs.nvim/issues) required: true - label: I have updated to the latest version required: true - type: textarea attributes: - label: "Neovim version" - description: "Output of `nvim --version`" + label: 'Neovim version' + description: 'Output of `nvim --version`' render: text validations: required: true - type: input attributes: - label: "Operating system" - placeholder: "e.g. Arch Linux, macOS 15, Ubuntu 24.04" + label: 'Operating system' + placeholder: 'e.g. Arch Linux, macOS 15, Ubuntu 24.04' validations: required: true @@ -47,8 +49,8 @@ body: - type: textarea attributes: - label: "Health check" - description: "Output of `:checkhealth diffs`" + label: 'Health check' + description: 'Output of `:checkhealth diffs`' render: text - type: textarea diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yaml similarity index 100% rename from .github/ISSUE_TEMPLATE/config.yml rename to .github/ISSUE_TEMPLATE/config.yaml diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yaml similarity index 78% rename from .github/ISSUE_TEMPLATE/feature_request.yml rename to .github/ISSUE_TEMPLATE/feature_request.yaml index 19d853a..a66bc36 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -1,13 +1,15 @@ name: Feature Request description: Suggest a feature -title: "feat: " +title: 'feat: ' labels: [enhancement] body: - type: checkboxes attributes: label: Prerequisites options: - - label: I have searched [existing issues](https://github.com/barrettruth/diffs.nvim/issues) + - label: + I have searched [existing + issues](https://github.com/barrettruth/diffs.nvim/issues) required: true - type: textarea diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2edf043..5d1f13f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,4 +14,4 @@ repos: hooks: - id: prettier name: prettier - files: \.(md|toml|yaml|sh)$ + files: \.(md|toml|yaml|yml|sh)$ diff --git a/.prettierrc b/.prettierrc index 039a474..0663621 100644 --- a/.prettierrc +++ b/.prettierrc @@ -5,13 +5,5 @@ "useTabs": false, "trailingComma": "none", "semi": false, - "singleQuote": true, - "overrides": [ - { - "files": ["**/*.md"], - "options": { - "parser": "markdown" - } - } - ] + "singleQuote": true }