Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Added issue and PR templates as near-copies of TSLint core's
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Josh Goldberg committed Nov 5, 2018
1 parent ec22efb commit d693a7a
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -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
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -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.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/rule-suggestion.md
Original file line number Diff line number Diff line change
@@ -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**
12 changes: 12 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -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?

<!-- optional -->

0 comments on commit d693a7a

Please sign in to comment.