-
-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: improve prettier config (#4154)
- Loading branch information
1 parent
a552f0a
commit a9073cb
Showing
9 changed files
with
42 additions
and
25 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
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
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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Issue Close Require | |
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
|
@@ -11,7 +11,7 @@ jobs: | |
- name: need reproduction | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'close-issues' | ||
actions: "close-issues" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
labels: 'need reproduction' | ||
labels: "need reproduction" | ||
inactive-day: 3 |
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 |
---|---|---|
|
@@ -12,29 +12,29 @@ jobs: | |
if: github.event.label.name == 'contribution welcome' || github.event.label.name == 'help wanted' | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'create-comment, remove-labels' | ||
actions: "create-comment, remove-labels" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution! | ||
labels: 'pending triage, need reproduction' | ||
labels: "pending triage, need reproduction" | ||
|
||
- name: remove pending | ||
if: github.event.label.name == 'enhancement' || github.event.label.name == 'bug' || (contains(github.event.label.name, 'pending triage') == false && startsWith(github.event.label.name, 'bug:') == true) | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'remove-labels' | ||
actions: "remove-labels" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
labels: 'pending triage' | ||
labels: "pending triage" | ||
|
||
- name: need reproduction | ||
if: github.event.label.name == 'need reproduction' | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'create-comment, remove-labels' | ||
actions: "create-comment, remove-labels" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}. Please provide a online reproduction by [codesandbox](https://codesandbox.io/) or a minimal GitHub repository. Issues labeled by `need reproduction` will be closed if no activities in 3 days. | ||
labels: 'pending triage' | ||
labels: "pending triage" |
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
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,22 @@ | ||
{ | ||
"semi": false, | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"printWidth": 80, | ||
"trailingComma": "none", | ||
"overrides": [ | ||
{ | ||
"files": ["*.json5"], | ||
"options": { | ||
"singleQuote": false, | ||
"quoteProps": "preserve" | ||
} | ||
}, | ||
{ | ||
"files": ["*.yml"], | ||
"options": { | ||
"singleQuote": 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
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