From 74f4090ac8b608478b7b48c8f5045067cd74a972 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Wed, 8 Jan 2025 00:17:08 +0100 Subject: [PATCH] Add pull request template Mostly as I have a tendency to forget to change the target branch to the oldest supported version for a PR when I haven't worked on this repo for a little while ... oops... Let's hope this reminder will help prevent such snafus in the future. Includes a tweak to the Remark config as the file name of the template needs to comply with the requirements by GitHub for such templates and this conflicts with the file name expectations set by Remark (by default). Ref: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository --- .github/pull_request_template.md | 3 +++ .remarkrc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..666bd0c --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,3 @@ + diff --git a/.remarkrc b/.remarkrc index 6bd2305..e31fae7 100644 --- a/.remarkrc +++ b/.remarkrc @@ -19,7 +19,7 @@ "remark-lint-no-duplicate-definitions", "remark-lint-no-empty-url", "remark-lint-no-file-name-consecutive-dashes", - "remark-lint-no-file-name-irregular-characters", + ["remark-lint-no-file-name-irregular-characters", "\\.a-zA-Z0-9-_"], "remark-lint-no-file-name-outer-dashes", "remark-lint-no-heading-like-paragraph", "remark-lint-no-literal-urls",