From 6c92579faff9d7ecdc0e74ee9a8e093780a0a20d Mon Sep 17 00:00:00 2001 From: Nils Knappmeier Date: Fri, 2 Dec 2016 08:45:19 +0100 Subject: [PATCH] Template for issues and pull-request I've noticed that many issues are answered with "Please provide a jsfiddle". This issue template tells the reporter to do that from the start. --- .github/ISSUE_TEMPLATE.md | 10 ++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 11 +++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 00000000..782cf3d5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,10 @@ +Before filing issues, please check the following points first: + +- [ ] Have a look at https://github.com/wycats/handlebars.js/blob/master/CONTRIBUTING.md +- [ ] Read the FAQ at https://github.com/wycats/handlebars.js/blob/master/FAQ.md +- [ ] Use the jsfiddle-template at https://jsfiddle.net/9D88g/47/ to reproduce problems or bugs + +This will probably help you to get a solution faster. +For bugs, it would be great to have a PR with a failing test-case. + + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..8d8437ee --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,11 @@ +Before creating a pull-request, please check https://github.com/wycats/handlebars.js/blob/master/CONTRIBUTING.md first. + +Generally we like to see pull requests that + +- [ ] Maintain the existing code style +- [ ] Are focused on a single change (i.e. avoid large refactoring or style adjustments in untouched code if not the primary goal of the pull request) +- [ ] Have good commit messages +- [ ] Have tests +- [ ] Don't significantly decrease the current code coverage (see coverage/lcov-report/index.html) + +