You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/maintenance/Issues.mdx
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,9 @@ Most issues go through the following review flow when created or updated:
60
60
- Close the issue as _not planned_
61
61
- If the issue requires further discussion or community engagement evaluation:
62
62
- Add the `evaluating community engagement` label and remove the `triage` label
63
-
2. If the report is valid, add the `accepting prs` label and remove the `triage` label
63
+
2. If the report is valid:
64
+
- Remove the `triage` label
65
+
- Add the `team assigned` label if you think only a member of the team should tackle it, or `accepting prs` if anybody could
64
66
3. If you know the rough steps for a fix, consider writing a comment with links to codebase to help someone put together a fix
65
67
4. If you think that the fix is relatively straightforward, consider also adding the `good first issue` label
66
68
@@ -97,7 +99,7 @@ However, there are cases when maintainers can't confidently choose the most reas
97
99
98
100
3-6 months after the issue is labeled `evaluating community engagement`, the engagement of community is evaluated:
99
101
100
-
- If the community was active and common ground was found, the issue is labeled as `accepting prs`
102
+
- If the community was active and common ground was found, the issue is labeled as `accepting prs` or `team assigned`
101
103
- Otherwise, the issue is closed as _not planned_ with the `wontfix` label
102
104
103
105
For requests that can be implemented outside of typescript-eslint, be sure to mention any relevant APIs such as [Custom Rules](../developers/Custom_Rules.mdx) that can be used.
Copy file name to clipboardExpand all lines: docs/maintenance/Pull_Requests.mdx
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Open pull requests ideally switch between two states:
37
37
- Ready for review: either newly created or after [review is re-requested](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews#re-requesting-a-review)
38
38
- Waiting for author activity: either by virtue of [being a draft](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests) or having the [`awaiting response` label](https://github.com/typescript-eslint/typescript-eslint/pulls?q=is%3Apr+is%3Aopen+label%3A%22awaiting+response%22)
39
39
40
-
Add the `awaiting response` label to a PR whenever you post a review.
40
+
Add the `awaiting response` label to a PR and remove `1 approval` if it exists whenever you post a request for changes.
41
41
It will be automatically removed if the author re-requests review.
42
42
43
43
### Be Kind
@@ -66,9 +66,6 @@ If there's no backing issue:
66
66
- If the PR is a straightforward docs or tooling fix that doesn't impact users, it's ok to review it as-is
67
67
- Otherwise, add the `please fill out the template` label and post a comment like the _Needs Issue_ template
68
68
69
-
Upon completing your review, if the build is passing and you feel comfortable merging it in, go ahead and squash merge.
70
-
Otherwise, add the `1 approval` label.
71
-
72
69
#### Common Things to Look For
73
70
74
71
- Style: that can you read through the code easily, there are comments for necessary tricky areas, and not unnecessary comments otherwise.
@@ -111,6 +108,21 @@ For preliminary reviews, be clear with what scale you're reviewing at: _"Reviewi
111
108
For repeat reviews, be clear when it's something you missed earlier and/or there's new information.
112
109
Don't apologize if the missed information was only made clear because of requested changes - this is part of the review process!
113
110
111
+
### Approvals
112
+
113
+
If the PR addresses a time critical task, such as a security fix or `main` branch build break, go ahead and squash merge it.
114
+
115
+
Otherwise, upon completing your review, if the build is passing and you have no blockers, approve it on GitHub.
116
+
Then:
117
+
118
+
- If there isn't a `1 approval` label or existing approval, add the `1 approval` label
119
+
- If there's already `1 approval` and/or it's been a week since the last request for changes, go ahead and squash merge
120
+
- For straightforward PRs that don't impact users, you can wait 3 days instead
121
+
122
+
There's no need to reset waiting periods for minor fixups from code reviews of otherwise approved code.
123
+
124
+
We try to leave PRs open for at least a week to give reviewers who aren't active every day a chance to get to it.
0 commit comments