Skip to content

Commit 887cbe1

Browse files
committed
2 parents c02317d + 841f6b7 commit 887cbe1

10 files changed

+271
-45
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Bug 🐞
2+
description: Report a bug
3+
labels: [support, bug]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report! ☺️
9+
- type: textarea
10+
attributes:
11+
label: Steps to reproduce
12+
validations:
13+
required: true
14+
- type: textarea
15+
attributes:
16+
label: What is expected?
17+
validations:
18+
required: true
19+
- type: textarea
20+
attributes:
21+
label: What is actually happening?
22+
validations:
23+
required: true
24+
- type: textarea
25+
attributes:
26+
label: Additional data
27+
value: |
28+
<!-- If technical bug
29+
NodeJS Version:
30+
Package manager(npm|yarn|pnpm):
31+
Browser name & version:
32+
System:
33+
-->
34+
35+
<!-- If design file bug
36+
Technology(figma|sketch):
37+
-->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Feature request ✨
2+
description: Suggest an idea or ask for a feature that you would like to have
3+
labels: [support, feature-req]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for letting us know how we can improve our product! ☺️
9+
- type: textarea
10+
attributes:
11+
label: What problem does this feature solve?
12+
validations:
13+
required: true
14+
- type: textarea
15+
attributes:
16+
label: What does the proposed solution look like?
17+
validations:
18+
required: true
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: 'Handle new issue comment'
2+
on:
3+
issue_comment:
4+
types: [created]
5+
6+
jobs:
7+
handle_new_issue_comment:
8+
runs-on: ubuntu-latest
9+
name: Handle new issue comment
10+
steps:
11+
- name: Toggle awaiting-reply label
12+
uses: jd-solanki/[email protected]
13+
with:
14+
label: awaiting-reply
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 'Handle new issue'
2+
on:
3+
issues:
4+
types: [opened]
5+
6+
jobs:
7+
handle_new_issue:
8+
runs-on: ubuntu-latest
9+
name: Handle new issue
10+
steps:
11+
- name: Find duplicates
12+
uses: wow-actions/[email protected]
13+
with:
14+
GITHUB_TOKEN: ${{ github.token }}
15+
label: duplicate
16+
comment: >
17+
Potential duplicates: {{#issues}}
18+
- #{{ number }} _({{ accuracy }}% Match)_
19+
{{/issues}}

.github/workflows/issue-staler.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '30 1 * * *'
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v4
11+
with:
12+
stale-issue-message: 'This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you for raising the concern.'
13+
close-issue-message: 'This issue has been automatically marked as closed because it has no recent activity.'
14+
stale-issue-label: 'stale'
15+
only-labels: 'awaiting-reply'
16+
exempt-issue-labels: 'triage'
17+
days-before-stale: 7
18+
days-before-close: 7

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ yarn-error.log
2323
yarn.lock
2424
package-lock.log
2525
/.idea
26-
/.vscode
2726

2827
/public/css
2928
/public/js

.vscode/extensions.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"recommendations": [
3+
"esbenp.prettier-vscode",
4+
"editorconfig.editorconfig",
5+
"dbaeumer.vscode-eslint",
6+
"formulahendry.auto-close-tag",
7+
"formulahendry.auto-rename-tag",
8+
"abusaidm.html-snippets",
9+
"syler.sass-indented",
10+
"mrmlnc.vscode-scss",
11+
"gamunu.vscode-yarn",
12+
"zignd.html-css-class-completion",
13+
]
14+
}

.vscode/settings.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"editor.wordWrap": "off",
3+
"editor.formatOnSave": true,
4+
"files.trimFinalNewlines": true,
5+
"diffEditor.ignoreTrimWhitespace": false,
6+
"cSpell.language": "en",
7+
"search.exclude": {
8+
"**/node_modules": true,
9+
"**/_temp": true,
10+
"**/bower_components": true,
11+
"*.min.js": true,
12+
"*.min.css": true
13+
},
14+
// JS
15+
"javascript.updateImportsOnFileMove.enabled": "always",
16+
// JSON
17+
"[json]": {
18+
"editor.defaultFormatter": "vscode.json-language-features"
19+
},
20+
"[jsonc]": {
21+
"editor.defaultFormatter": "vscode.json-language-features"
22+
},
23+
// Extension: Prettier
24+
"prettier.requireConfig": true,
25+
"prettier.configPath": ".prettierrc.json",
26+
"prettier.ignorePath": ".prettierignore",
27+
"[html]": {
28+
"editor.defaultFormatter": "esbenp.prettier-vscode"
29+
},
30+
"[javascript]": {
31+
"editor.defaultFormatter": "esbenp.prettier-vscode"
32+
},
33+
"[markdown]": {
34+
"editor.defaultFormatter": "esbenp.prettier-vscode"
35+
},
36+
"[scss]": {
37+
"editor.defaultFormatter": "esbenp.prettier-vscode"
38+
},
39+
"[css]": {
40+
"editor.defaultFormatter": "esbenp.prettier-vscode"
41+
},
42+
// Extension: Git
43+
"git.rebaseWhenSync": true,
44+
"git.enableSmartCommit": true,
45+
// Extension: ESLint
46+
"eslint.packageManager": "yarn",
47+
"eslint.format.enable": true,
48+
// "eslint.workingDirectories": [
49+
// "src",
50+
// "dev"
51+
// ],
52+
"eslint.options": {
53+
"configFile": ".eslintrc.json"
54+
},
55+
"eslint.validate": [
56+
"vue",
57+
"html",
58+
"javascript",
59+
"typescript",
60+
"javascriptreact",
61+
"typescriptreact"
62+
],
63+
// Extension: npm
64+
"npm.packageManager": "yarn",
65+
}

0 commit comments

Comments
 (0)