Skip to content

Commit fafd21d

Browse files
Merge branch 'main' into tabsworking
2 parents f034936 + 44bdbe0 commit fafd21d

211 files changed

Lines changed: 17173 additions & 8751 deletions

File tree

Some content is hidden

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

.eslintignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
build/
6+
dist/
7+
out/
8+
9+
# Caches / temp
10+
.cache/
11+
.tmp/
12+
.eslintcache
13+
14+
# Config files (optional)
15+
*.config.js
16+
babel.config.js
17+
18+
# Docs
19+
*.md
20+
*.mdx
21+
docs/**/*.md
22+
blog/**/*.md

.eslintrc.cjs

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
es2021: true,
6+
node: true,
7+
},
8+
extends: [
9+
"eslint:recommended",
10+
"plugin:react/recommended",
11+
"plugin:react/jsx-runtime",
12+
"plugin:@typescript-eslint/recommended",
13+
"prettier",
14+
],
15+
parser: "@typescript-eslint/parser",
16+
parserOptions: {
17+
ecmaFeatures: {
18+
jsx: true,
19+
},
20+
ecmaVersion: "latest",
21+
sourceType: "module",
22+
},
23+
plugins: ["react", "@typescript-eslint", "prettier"],
24+
settings: {
25+
react: {
26+
version: "detect",
27+
},
28+
},
29+
rules: {
30+
"prettier/prettier": "off",
31+
"react/react-in-jsx-scope": "off",
32+
"react/prop-types": "off",
33+
"react/no-unknown-property": "off",
34+
"react/display-name": "off",
35+
"@typescript-eslint/no-unused-vars": "warn",
36+
"@typescript-eslint/no-explicit-any": "warn",
37+
"@typescript-eslint/no-var-requires": "off",
38+
"@typescript-eslint/no-require-imports": "off",
39+
"@typescript-eslint/ban-ts-comment": "off",
40+
"@typescript-eslint/no-empty-object-type": "off",
41+
"no-console": "warn",
42+
"no-undef": "off",
43+
"no-useless-escape": "off",
44+
"no-prototype-builtins": "off",
45+
"no-constant-condition": "off",
46+
"no-misleading-character-class": "off",
47+
"react/no-unescaped-entities": "off",
48+
},
49+
ignorePatterns: [
50+
"node_modules/",
51+
"build/",
52+
".docusaurus/",
53+
".cache-loader/",
54+
"tmp/",
55+
"static/",
56+
"*.config.js",
57+
"babel.config.js",
58+
],
59+
};

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
issue_number: context.issue.number,
2222
owner: context.repo.owner,
2323
repo: context.repo.repo,
24-
body: "Thanks for opening this issue! 🎉 We'll look into it as soon as possible, estimated time for response is 5–8 hrs. \n\n Don't raise PR unless assigned to you.\n\nIn the meantime, please provide all necessary details and context to your issue — screenshots or videos of your changes help 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 issue goes stale for more than one day, you can tag and comment on this same issue by tagging **@sanjay-kv**.\n\nWe are here to help you on this journey of open source. Consistent 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 📚Resources which can help you know more about Github 👇🏻 \n\n 1. End to End GitHub Beginner Playlist: [GitHub Playlist](https://www.youtube.com/watch?v=GrTV59Y84S8&list=PLrLTYhoDFx-kiuFiGQqVpYYZ56pIhUW63&ab_channel=RecodeHive). \n\n 2. Build your GitHub Profile: [GitHub Profile Optimisation](https://www.youtube.com/watch?v=w1zFVtthiYc&list=PLrLTYhoDFx-lTIzox5agrJgd9QbKHKPOI&ab_channel=RecodeHive). \n\n 3. GitHub Handbook for dummies: [GitHub Blog for Beginners.](https://www.recodehive.com/docs/GitHub/intro-github)"
24+
body: "Thanks for opening this issue! 🎉 We'll look into it as soon as possible, estimated time for response is 5–8 hrs. \n\n Don't raise PR unless assigned to you.\n\nIn the meantime, please provide all necessary details and context to your issue — screenshots or videos of your changes help 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 issue goes stale for more than one day, you can tag and comment on this same issue by tagging **@sanjay-kv**.\n\nWe are here to help you on this journey of open source. Consistent 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/#people-we-sponsored). ✨ \n\n 📚Resources which can help you know more about Github 👇🏻 \n\n 1. End to End GitHub Beginner Playlist: [GitHub Playlist](https://www.youtube.com/watch?v=GrTV59Y84S8&list=PLrLTYhoDFx-kiuFiGQqVpYYZ56pIhUW63&ab_channel=RecodeHive). \n\n 2. Build your GitHub Profile: [GitHub Profile Optimisation](https://www.youtube.com/watch?v=w1zFVtthiYc&list=PLrLTYhoDFx-lTIzox5agrJgd9QbKHKPOI&ab_channel=RecodeHive). \n\n 3. GitHub Handbook for dummies: [GitHub Blog for Beginners.](https://www.recodehive.com/docs/GitHub/intro-github)"
2525
2626
});

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: |
1919
COMMENT=$(cat <<EOF
2020
{
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! 😊"
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/#people-we-sponsored). ✨ \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! 😊"
2222
}
2323
EOF
2424
)

.github/workflows/autolabler.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
labels: ["recode", "level 1", "hacktoberfest-accepted"]
2828
});
2929
30-
console.log(`Added labels [recode, level 1,hacktoberfest-accepted] to PR #${prNumber}`);
30+
console.log(`Added labels [recode, level 1, hacktoberfest-accepted] to PR #${prNumber}`);
3131
3232
- name: Add labels to Issue
3333
if: github.event_name == 'issues'
@@ -43,3 +43,16 @@ jobs:
4343
});
4444
4545
console.log(`Added labels [recode, level 1, hacktoberfest-accepted] to Issue #${issueNumber}`);
46+
47+
- name: Set Issue Type to Bug
48+
if: github.event_name == 'issues'
49+
run: |
50+
ISSUE_NUMBER=${{ github.event.issue.number }}
51+
REPO=${{ github.repository }}
52+
TOKEN=${{ secrets.GITHUB_TOKEN }}
53+
54+
curl --request PATCH \
55+
--url https://api.github.com/repos/${REPO}/issues/${ISSUE_NUMBER} \
56+
--header "authorization: token ${TOKEN}" \
57+
--header "content-type: application/json" \
58+
--data '{"type":"Bug"}'

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

.prettierignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Documentation
2+
docs/**/*.md
3+
docs/**/*.mdx
4+
blog/**/*.md
5+
blog/**/*.mdx
6+
*.md
7+
*.mdx
8+
9+
# Build outputs
10+
node_modules/
11+
build/
12+
.docusaurus/
13+
.cache-loader/
14+
tmp/
15+
16+
# Package files
17+
package-lock.json

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"singleQuote": false,
3+
"semi": true,
4+
"tabWidth": 2,
5+
"printWidth": 80
6+
}

.vscode/extensions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
// VS Code will prompt the user to install these extensions when they open the workspace
3+
"recommendations": [
4+
"esbenp.prettier-vscode",
5+
"dbaeumer.vscode-eslint",
6+
"bradlc.vscode-tailwindcss"
7+
],
8+
"unwantedRecommendations": []
9+
}

.vscode/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
// Editor formatting and preferences
3+
"editor.formatOnSave": true,
4+
"files.eol": "\n",
5+
"editor.tabSize": 2,
6+
"prettier.requireConfig": true,
7+
"eslint.validate": [
8+
"javascript",
9+
"typescript",
10+
"javascriptreact",
11+
"typescriptreact"
12+
]
13+
}

0 commit comments

Comments
 (0)