Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f0fb2e5

Browse files
bradzacherarmano2
andauthored
chore(website): include labels in the report-an-issue button (typescript-eslint#5126)
* chore(website): include labels in the report-an-issue button I was wrong [when I originally told armano to remove these](typescript-eslint#4916 (comment)). It appears that GH uses the issue form config to power the initial link from the issue chooser, and then completely ignores the config after that 😢 So without this param, the issue is filled without any tags at all!!! * Update packages/website/src/components/lib/markdown.ts Co-authored-by: Armano <[email protected]> Co-authored-by: Armano <[email protected]>
1 parent 316f6ba commit f0fb2e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/website/src/components/lib/markdown.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export function createMarkdown(state: ConfigModel): string {
5050

5151
export function createMarkdownParams(state: ConfigModel): string {
5252
const params = {
53+
labels: 'bug,package: eslint-plugin,triage',
5354
template: '1-bug-report-plugin.yaml',
5455
title: 'Bug: [rule name here] <short description of the issue>',
5556
'playground-link': document.location.toString(),

0 commit comments

Comments
 (0)