From d693a7ae5a9660b195e949a18d95331317fdda7d Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Mon, 5 Nov 2018 04:50:56 -0500 Subject: [PATCH] Added issue and PR templates as near-copies of TSLint core's Adds a request for `tslint-microsoft-contrib`'s version and removes mention of a changelog entry. Otherwise approximately identical to what TSLint itself uses. Fixes #582. Fixes #583. --- .github/ISSUE_TEMPLATE.md | 22 ++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 27 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 21 ++++++++++++++++++ .github/ISSUE_TEMPLATE/rule-suggestion.md | 14 ++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 12 ++++++++++ 5 files changed, 96 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/rule-suggestion.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 000000000..adf68ceb7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,22 @@ +### Bug Report + +- **`tslint-microsoft-contrib` version**: +- **TSLint version**: +- **TypeScript version**: +- **Running TSLint via**: (pick one) CLI / Node.js API / VSCode / grunt-tslint / Atom / Visual Studio / etc + +#### TypeScript code being linted + +```tsx +// code snippet +``` + +with `tslint.json` configuration: + +```json + +``` + +#### Actual behavior + +#### Expected behavior diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..4faf5f6a2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,27 @@ +--- +name: Bug report +about: Report a bug in `tslint-microsoft-contrib` +--- + +### Bug Report + +- **`tslint-microsoft-contrib` version**: +- **TSLint version**: +- **TypeScript version**: +- **Running TSLint via**: (pick one) CLI / Node.js API / VSCode / grunt-tslint / Atom / Visual Studio / etc + +#### TypeScript code being linted + +```tsx +// code snippet +``` + +with `tslint.json` configuration: + +```json + +``` + +#### Actual behavior + +#### Expected behavior diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..01d50cf7a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,21 @@ +--- +name: Feature request +about: Suggest a non-rule idea for `tslint-microsoft-contrib`` +--- + +### Feature request + +**Is your feature request that we implement a new rule?** +Please use the `Rule Suggestion` template instead + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/rule-suggestion.md b/.github/ISSUE_TEMPLATE/rule-suggestion.md new file mode 100644 index 000000000..688ff26d3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/rule-suggestion.md @@ -0,0 +1,14 @@ +--- +name: Rule suggestion +about: Suggest a new rule for `tslint-microsoft-contrib`` +--- + +### Rule Suggestion + +**Is your rule for a general problem or is it specific to your development style?** + +**What does your suggested rule do?** + +**List several examples where your rule could be used** + +**Additional context** diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..59c8c2f0d --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,12 @@ +#### PR checklist + +- [ ] Addresses an existing issue: fixes #0000 +- [ ] New feature, bugfix, or enhancement + - [ ] Includes tests +- [ ] Documentation update + +#### Overview of change: + +#### Is there anything you'd like reviewers to focus on? + +