-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9f5d646
Showing
26 changed files
with
10,557 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: GitHub Community Support | ||
url: https://github.com/orgs/community/discussions | ||
about: Please ask and answer questions here. | ||
- name: GitHub Security Bug Bounty | ||
url: https://bounty.github.com/ | ||
about: Please report security vulnerabilities here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,199 @@ | ||
name: Example Request | ||
description: Submit an example request | ||
title: '[Request] New Thing' | ||
labels: | ||
- issueops:new-thing | ||
assignees: | ||
- ncalteen | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
### Hello, World! | ||
This is an example issue form. It includes several input fields. | ||
The fields will be validated after they are parsed. | ||
This markdown is not included in the final issue body. | ||
# Example of a required input field | ||
- type: input | ||
id: name | ||
attributes: | ||
label: The Name of the Thing | ||
description: The name of the thing you want to create. | ||
placeholder: this-is-the-thing | ||
validations: | ||
required: true | ||
|
||
# Example of an optional input field | ||
- type: input | ||
id: nickname | ||
attributes: | ||
label: The Nickname of the Thing | ||
description: (Optional) The nickname of the thing you want to create. | ||
placeholder: the-thing | ||
validations: | ||
required: false | ||
|
||
# Example of a required dropdown field | ||
- type: dropdown | ||
id: color | ||
attributes: | ||
label: The Color of the Thing | ||
description: The color of the thing you want to create. | ||
multiple: false | ||
options: | ||
- blue | ||
- black | ||
- green | ||
- orange | ||
- purple | ||
- red | ||
- white | ||
- yellow | ||
validations: | ||
required: true | ||
|
||
# Example of an optional dropdown field | ||
- type: dropdown | ||
id: shape | ||
attributes: | ||
label: The Shape of the Thing | ||
description: (Optional) The shape of the thing you want to create. | ||
multiple: false | ||
options: | ||
- circle | ||
- square | ||
- triangle | ||
validations: | ||
required: false | ||
|
||
# Example of a required dropdown field with multiple selections | ||
- type: dropdown | ||
id: sounds | ||
attributes: | ||
label: The Sounds of the Thing | ||
description: (Multiple) The sounds(s) the thing makes. | ||
multiple: true | ||
options: | ||
- do | ||
- re | ||
- mi | ||
- fa | ||
- so | ||
- la | ||
- ti | ||
validations: | ||
required: true | ||
|
||
# Example of an optional dropdown field with multiple selections | ||
- type: dropdown | ||
id: topics | ||
attributes: | ||
label: The Topics About the Thing | ||
description: | | ||
(Multiple / Optional) The topic(s) about the thing you want to create. | ||
multiple: true | ||
options: | ||
- cool | ||
- fun | ||
- interesting | ||
- neat | ||
validations: | ||
required: false | ||
|
||
# Example of a required textarea field | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: The Description of the Thing | ||
description: The description of the thing you want to create. | ||
placeholder: This is a description of the thing. | ||
validations: | ||
required: true | ||
|
||
# Example of an optional textarea field | ||
- type: textarea | ||
id: notes | ||
attributes: | ||
label: The Notes About the Thing | ||
description: (Optional) The notes about the thing you want to create. | ||
placeholder: These are notes about the thing. | ||
validations: | ||
required: false | ||
|
||
# Example of a required textarea field with code rendering | ||
- type: textarea | ||
id: code | ||
attributes: | ||
label: The Code of the Thing | ||
description: The code of the thing you want to create. | ||
render: JavaScript | ||
placeholder: | | ||
const thing = new Thing() | ||
thing.doSomething() | ||
validations: | ||
required: true | ||
|
||
# Example of an optional textarea field with code rendering | ||
- type: textarea | ||
id: code-string | ||
attributes: | ||
label: The String Method of the Code of the Thing | ||
description: (Optional) The method to return the thing as a string. | ||
render: JavaScript | ||
placeholder: | | ||
thing.toString() | ||
validations: | ||
required: false | ||
|
||
# Example of a required checkbox field | ||
- type: checkboxes | ||
id: is-thing | ||
attributes: | ||
label: Is the Thing a Thing? | ||
description: Is the thing a thing? | ||
options: | ||
- label: Yes | ||
required: true | ||
- label: No | ||
required: false | ||
|
||
# Example of an optional checkbox field | ||
- type: checkboxes | ||
id: is-thing-useful | ||
attributes: | ||
label: Is the Thing Useful? | ||
description: (Optional) Is the thing a useful thing? | ||
options: | ||
- label: Yes | ||
required: false | ||
- label: Sometimes | ||
required: false | ||
- label: No | ||
required: false | ||
|
||
# Example of a field with non-built-in validation | ||
- type: input | ||
id: read-team | ||
attributes: | ||
label: Read Team | ||
description: | | ||
The read-only GitHub Team (hint: `IssueOps-Demo-Readers`). | ||
placeholder: IssueOps-Demo-Readers | ||
validations: | ||
required: true | ||
|
||
# Example of a field with non-built-in validation | ||
- type: input | ||
id: write-team | ||
attributes: | ||
label: Write Team | ||
description: | | ||
The write-access GitHub Team (hint: `IssueOps-Demo-Writers`). | ||
placeholder: IssueOps-Demo-Writers | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
labels: | ||
- dependabot | ||
- actions | ||
open-pull-requests-limit: 10 | ||
|
||
- package-ecosystem: npm | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
labels: | ||
- dependabot | ||
- npm | ||
open-pull-requests-limit: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
############################# | ||
## JavaScript Linter rules ## | ||
############################# | ||
|
||
parser: '@typescript-eslint/parser' | ||
|
||
env: | ||
node: true | ||
es6: true | ||
jest: true | ||
commonjs: true | ||
|
||
globals: | ||
Atomics: readonly | ||
SharedArrayBuffer: readonly | ||
|
||
ignorePatterns: | ||
- '!.*' | ||
- '**/node_modules/**' | ||
- '**/dist/**' | ||
- '**/coverage/**' | ||
- '**/.github/**' | ||
- '**/.vscode/**' | ||
|
||
parserOptions: | ||
ecmaVersion: 2023 | ||
sourceType: module | ||
project: | ||
- './.github/linters/tsconfig.json' | ||
- './tsconfig.json' | ||
|
||
plugins: | ||
- 'jest' | ||
- '@typescript-eslint' | ||
|
||
extends: | ||
- eslint:recommended | ||
- plugin:@typescript-eslint/eslint-recommended | ||
- plugin:@typescript-eslint/recommended | ||
- plugin:github/recommended | ||
- plugin:jest/recommended | ||
|
||
rules: | ||
{ | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/no-var-requires': 'off', | ||
'camelcase': 'off', | ||
'i18n-text/no-en': 'off', | ||
'import/no-commonjs': 'off', | ||
'import/no-namespace': 'off', | ||
'no-console': 'off', | ||
'prettier/prettier': 'error' | ||
} | ||
|
||
overrides: | ||
- files: | ||
- '*.json' | ||
extends: | ||
- plugin:jsonc/recommended-with-json | ||
parser: jsonc-eslint-parser | ||
parserOptions: | ||
jsonSyntax: JSON | ||
- files: | ||
- '*.jsonc' | ||
extends: | ||
- plugin:jsonc/recommended-with-jsonc | ||
parser: jsonc-eslint-parser | ||
parserOptions: | ||
jsonSyntax: JSONC | ||
- files: | ||
- '*.json5' | ||
extends: | ||
- plugin:jsonc/recommended-with-json5 | ||
parser: jsonc-eslint-parser | ||
parserOptions: | ||
jsonSyntax: JSON5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
########################### | ||
## Markdown Linter rules ## | ||
########################### | ||
|
||
MD003: false | ||
MD004: | ||
style: dash | ||
MD026: false | ||
MD029: | ||
style: one | ||
MD033: false | ||
MD034: false | ||
MD036: false | ||
MD041: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
disable=SC2034,SC2181 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
########################### | ||
## YAML Linter rules ## | ||
########################### | ||
|
||
rules: | ||
document-end: disable | ||
document-start: | ||
level: warning | ||
present: false | ||
line-length: | ||
level: warning | ||
max: 120 | ||
allow-non-breakable-words: true | ||
allow-non-breakable-inline-mappings: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"noEmit": true | ||
}, | ||
"include": ["../../__tests__/**/*", "../../src/**/*"], | ||
"exclude": ["../../dist", "../../node_modules", "../../coverage", "*.json"] | ||
} |
Oops, something went wrong.