Skip to content

Commit d75a209

Browse files
committed
chore: format codebase with Prettier
1 parent 86106c2 commit d75a209

File tree

188 files changed

+10809
-12018
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

188 files changed

+10809
-12018
lines changed

.github/ISSUE_TEMPLATE/Create feature_request.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 💡Feature Request
22
description: Suggest a feature
3-
title: "💡[Feature]: "
4-
labels: "enhancement"
3+
title: '💡[Feature]: '
4+
labels: 'enhancement'
55
body:
66
- type: checkboxes
77
id: existing-issue
@@ -55,9 +55,9 @@ body:
5555
attributes:
5656
label: Record
5757
options:
58-
- label: "I have read the Contributing Guidelines"
58+
- label: 'I have read the Contributing Guidelines'
5959
required: true
6060
- label: "Are you a GSSOC'25 contributor"
6161
required: false
62-
- label: "I want to work on this issue"
62+
- label: 'I want to work on this issue'
6363
required: false

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Bug report 🐞
22
description: File a bug report
3-
title: "🐞[Bug]: "
3+
title: '🐞[Bug]: '
44
labels: 'bug'
55
body:
66
- type: checkboxes
@@ -46,9 +46,9 @@ body:
4646
attributes:
4747
label: Record
4848
options:
49-
- label: "I have read the Contributing Guidelines"
49+
- label: 'I have read the Contributing Guidelines'
5050
required: true
5151
- label: "Are you a GSSOC'25 contributor"
5252
required: false
53-
- label: "I want to work on this issue"
53+
- label: 'I want to work on this issue'
5454
required: false

.github/ISSUE_TEMPLATE/documentation_update.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 📝 Documentation Update
22
description: Improve Documentation
3-
title: "📝[Docs]: "
3+
title: '📝[Docs]: '
44
labels: 'enhancement'
55
body:
66
- type: checkboxes
@@ -52,9 +52,9 @@ body:
5252
attributes:
5353
label: Record
5454
options:
55-
- label: "I have read the Contributing Guidelines"
55+
- label: 'I have read the Contributing Guidelines'
5656
required: true
5757
- label: "Are you a GSSOC'25 contributor"
5858
required: false
59-
- label: "I want to work on this issue"
59+
- label: 'I want to work on this issue'
6060
required: false

.github/pull_request_template.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
## Description
22

3-
Provide a brief summary of the changes made to the website and the motivation behind them. Include any relevant issues or tickets.
4-
This helps fast tracking your PR and merge it, Check the respective box below.
3+
Provide a brief summary of the changes made to the website and the motivation behind them. Include
4+
any relevant issues or tickets. This helps fast tracking your PR and merge it, Check the respective
5+
box below.
56

67
Fixes # (issue)
78

@@ -27,5 +28,6 @@ Fixes # (issue)
2728

2829
- [ ] My code follows the style guidelines of this project.
2930
- [ ] I have tested my changes across major browsers/devices
30-
- [ ] My changes do not generate new console warnings or errors , I ran `npm run build` and attached scrrenshot in this PR.
31+
- [ ] My changes do not generate new console warnings or errors , I ran `npm run build` and attached
32+
scrrenshot in this PR.
3133
- [ ] This is already assigned Issue to me, not an unassigned issue.

.github/workflows/Create close-old-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Close Old Issues
22
on:
33
schedule:
4-
- cron: "0 0 * * *"
4+
- cron: '0 0 * * *'
55

66
jobs:
77
close-issues:

.github/workflows/Create close-old-pr.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ jobs:
1818
runs-on: ubuntu-latest
1919
permissions:
2020
pull-requests: write
21-
21+
2222
steps:
23-
- uses: actions/stale@v7
24-
with:
25-
repo-token: ${{ secrets.GITHUB_TOKEN }}
26-
stale-pr-message: 'This PR has been automatically closed due to inactivity from the owner for 15 days.'
27-
days-before-pr-stale: 15
28-
days-before-pr-close: 0
29-
exempt-pr-author: false
30-
exempt-pr-labels: ''
31-
only-labels: ''
32-
operations-per-run: 30
33-
remove-stale-when-updated: true
34-
debug-only: false
23+
- uses: actions/stale@v7
24+
with:
25+
repo-token: ${{ secrets.GITHUB_TOKEN }}
26+
stale-pr-message: 'This PR has been automatically closed due to inactivity from the owner for 15 days.'
27+
days-before-pr-stale: 15
28+
days-before-pr-close: 0
29+
exempt-pr-author: false
30+
exempt-pr-labels: ''
31+
only-labels: ''
32+
operations-per-run: 30
33+
remove-stale-when-updated: true
34+
debug-only: false

.github/workflows/Update autocomment-pr-merge.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ jobs:
1616
if: github.event.pull_request.merged == true
1717

1818
steps:
19-
- name: Checkout Repository
20-
uses: actions/checkout@v2
19+
- name: Checkout Repository
20+
uses: actions/checkout@v2
2121

22-
- name: Add Comment to Issue
23-
env:
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25-
run: |
26-
COMMENT=$(cat <<EOF
27-
{
28-
"body": "🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project. \n\n I would be grateful if you can nominate for keeping this opensource project live and running [Link to Nominate](https://stars.github.com/nominate/). Please do star the repo and Keep up the fantastic work! 🚀"
29-
}
30-
EOF
31-
)
32-
curl -X POST \
33-
-H "Authorization: Bearer $GITHUB_TOKEN" \
34-
-H "Accept: application/vnd.github.v3+json" \
35-
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments \
36-
-d "$COMMENT"
22+
- name: Add Comment to Issue
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
run: |
26+
COMMENT=$(cat <<EOF
27+
{
28+
"body": "🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project. \n\n I would be grateful if you can nominate for keeping this opensource project live and running [Link to Nominate](https://stars.github.com/nominate/). Please do star the repo and Keep up the fantastic work! 🚀"
29+
}
30+
EOF
31+
)
32+
curl -X POST \
33+
-H "Authorization: Bearer $GITHUB_TOKEN" \
34+
-H "Accept: application/vnd.github.v3+json" \
35+
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments \
36+
-d "$COMMENT"

.github/workflows/autocomment-iss-raise.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: Auto Comment on Issue Opened
32

43
on:

.github/workflows/autocomment-pr-raise.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@ jobs:
1414
permissions:
1515
pull-requests: write
1616
steps:
17-
- name: Add Comment to Pull Request
18-
run: |
19-
COMMENT=$(cat <<EOF
20-
{
21-
"body": "Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs. \\n\n In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to [LinkedIn](https://www.linkedin.com/in/sanjay-k-v/). Your contributions are highly appreciated!😊 \n\n Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging **@sanjay-kv**.\n\n We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰 \n\n 🎁 check our list of amazing people we sponsored so far: [GitHub Sponsorship](https://www.recodehive.com/our-sponsors). ✨ \n\n 📚Your perks for contribution to this community 👇🏻 \n\n 1. Get free Consultation use code recode50 to get free: [Mentorship for free](https://event.recodehive.com/git). \n\n 2. Get the Ebook for free use code recode at checkout: [Data Science cheatsheet for Beginners](https://dev.recodehive.com/book). \n\n 3. Check out this weekly Newsletter: [Sanjay's Newsletter.](https://recodehive.substack.com/) \n\n If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊"
22-
}
23-
EOF
24-
)
25-
RESPONSE=$(curl -s -o response.json -w "%{http_code}" \
26-
-X POST \
27-
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
28-
-H "Accept: application/vnd.github.v3+json" \
29-
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments \
30-
-d "$COMMENT")
31-
cat response.json
32-
if [ "$RESPONSE" -ne 201 ]; then
33-
echo "Failed to add comment"
34-
exit 1
35-
fi
36-
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
- name: Add Comment to Pull Request
18+
run: |
19+
COMMENT=$(cat <<EOF
20+
{
21+
"body": "Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs. \\n\n In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to [LinkedIn](https://www.linkedin.com/in/sanjay-k-v/). Your contributions are highly appreciated!😊 \n\n Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging **@sanjay-kv**.\n\n We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰 \n\n 🎁 check our list of amazing people we sponsored so far: [GitHub Sponsorship](https://www.recodehive.com/our-sponsors). ✨ \n\n 📚Your perks for contribution to this community 👇🏻 \n\n 1. Get free Consultation use code recode50 to get free: [Mentorship for free](https://event.recodehive.com/git). \n\n 2. Get the Ebook for free use code recode at checkout: [Data Science cheatsheet for Beginners](https://dev.recodehive.com/book). \n\n 3. Check out this weekly Newsletter: [Sanjay's Newsletter.](https://recodehive.substack.com/) \n\n If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊"
22+
}
23+
EOF
24+
)
25+
RESPONSE=$(curl -s -o response.json -w "%{http_code}" \
26+
-X POST \
27+
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
28+
-H "Accept: application/vnd.github.v3+json" \
29+
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments \
30+
-d "$COMMENT")
31+
cat response.json
32+
if [ "$RESPONSE" -ne 201 ]; then
33+
echo "Failed to add comment"
34+
exit 1
35+
fi
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.lintstagedrc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"*.{js,jsx}": [
3-
"eslint --fix",
4-
"prettier --write"
5-
]
6-
}
2+
"*.{js,jsx}": ["eslint --fix", "prettier --write"]
3+
}

0 commit comments

Comments
 (0)