Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
smitbhalodiya committed Dec 25, 2023
2 parents c02317d + 841f6b7 commit 887cbe1
Show file tree
Hide file tree
Showing 10 changed files with 271 additions and 45 deletions.
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Bug 🐞
description: Report a bug
labels: [support, bug]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report! ☺️
- type: textarea
attributes:
label: Steps to reproduce
validations:
required: true
- type: textarea
attributes:
label: What is expected?
validations:
required: true
- type: textarea
attributes:
label: What is actually happening?
validations:
required: true
- type: textarea
attributes:
label: Additional data
value: |
<!-- If technical bug
NodeJS Version:
Package manager(npm|yarn|pnpm):
Browser name & version:
System:
-->
<!-- If design file bug
Technology(figma|sketch):
-->
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Feature request ✨
description: Suggest an idea or ask for a feature that you would like to have
labels: [support, feature-req]
body:
- type: markdown
attributes:
value: |
Thanks for letting us know how we can improve our product! ☺️
- type: textarea
attributes:
label: What problem does this feature solve?
validations:
required: true
- type: textarea
attributes:
label: What does the proposed solution look like?
validations:
required: true
14 changes: 14 additions & 0 deletions .github/workflows/handle-new-issue-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Handle new issue comment'
on:
issue_comment:
types: [created]

jobs:
handle_new_issue_comment:
runs-on: ubuntu-latest
name: Handle new issue comment
steps:
- name: Toggle awaiting-reply label
uses: jd-solanki/gh-action-toggle-awaiting-reply-label@v2.1.0
with:
label: awaiting-reply
19 changes: 19 additions & 0 deletions .github/workflows/handle-new-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Handle new issue'
on:
issues:
types: [opened]

jobs:
handle_new_issue:
runs-on: ubuntu-latest
name: Handle new issue
steps:
- name: Find duplicates
uses: wow-actions/potential-duplicates@v1.0.8
with:
GITHUB_TOKEN: ${{ github.token }}
label: duplicate
comment: >
Potential duplicates: {{#issues}}
- #{{ number }} _({{ accuracy }}% Match)_
{{/issues}}
18 changes: 18 additions & 0 deletions .github/workflows/issue-staler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
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.'
close-issue-message: 'This issue has been automatically marked as closed because it has no recent activity.'
stale-issue-label: 'stale'
only-labels: 'awaiting-reply'
exempt-issue-labels: 'triage'
days-before-stale: 7
days-before-close: 7
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ yarn-error.log
yarn.lock
package-lock.log
/.idea
/.vscode

/public/css
/public/js
Expand Down
14 changes: 14 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint",
"formulahendry.auto-close-tag",
"formulahendry.auto-rename-tag",
"abusaidm.html-snippets",
"syler.sass-indented",
"mrmlnc.vscode-scss",
"gamunu.vscode-yarn",
"zignd.html-css-class-completion",
]
}
65 changes: 65 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"editor.wordWrap": "off",
"editor.formatOnSave": true,
"files.trimFinalNewlines": true,
"diffEditor.ignoreTrimWhitespace": false,
"cSpell.language": "en",
"search.exclude": {
"**/node_modules": true,
"**/_temp": true,
"**/bower_components": true,
"*.min.js": true,
"*.min.css": true
},
// JS
"javascript.updateImportsOnFileMove.enabled": "always",
// JSON
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
// Extension: Prettier
"prettier.requireConfig": true,
"prettier.configPath": ".prettierrc.json",
"prettier.ignorePath": ".prettierignore",
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// Extension: Git
"git.rebaseWhenSync": true,
"git.enableSmartCommit": true,
// Extension: ESLint
"eslint.packageManager": "yarn",
"eslint.format.enable": true,
// "eslint.workingDirectories": [
// "src",
// "dev"
// ],
"eslint.options": {
"configFile": ".eslintrc.json"
},
"eslint.validate": [
"vue",
"html",
"javascript",
"typescript",
"javascriptreact",
"typescriptreact"
],
// Extension: npm
"npm.packageManager": "yarn",
}
Loading

0 comments on commit 887cbe1

Please sign in to comment.