Skip to content

Commit deb2577

Browse files
authored
Revert "Prettier Integration"
1 parent 4d1e48f commit deb2577

Some content is hidden

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

54 files changed

+624
-753
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ""
5-
labels: ""
6-
assignees: ""
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
78
---
89

910
**Describe the bug**
1011
A clear and concise description of what the bug is.
1112

1213
**To Reproduce**
1314
Steps to reproduce the behavior:
14-
1515
1. Go to '...'
1616
2. Click on '....'
1717
3. Scroll down to '....'
@@ -24,17 +24,15 @@ A clear and concise description of what you expected to happen.
2424
If applicable, add screenshots to help explain your problem.
2525

2626
**Desktop (please complete the following information):**
27-
28-
- OS: [e.g. iOS]
29-
- Browser [e.g. chrome, safari]
30-
- Version [e.g. 22]
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
3130

3231
**Smartphone (please complete the following information):**
33-
34-
- Device: [e.g. iPhone6]
35-
- OS: [e.g. iOS8.1]
36-
- Browser [e.g. stock browser, safari]
37-
- Version [e.g. 22]
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
3836

3937
**Additional context**
4038
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/custom.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
22
name: Custom issue template
33
about: Describe this issue template's purpose here.
4-
title: ""
5-
labels: ""
6-
assignees: ""
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
78
---
9+
10+

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ""
5-
labels: ""
6-
assignees: ""
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
78
---
89

910
**Is your feature request related to a problem? Please describe.**

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ updates:
44
- package-ecosystem: "github-actions"
55
directory: "/"
66
schedule:
7-
interval: "daily"
7+
interval: "daily"

.github/workflows/greetings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
with:
1414
repo-token: ${{ secrets.GITHUB_TOKEN }}
1515
issue-message: "Congratulations, ${{ github.actor }}! 🎉 Thank you for creating your first issue in GES. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!"
16-
pr-message: "Great job, ${{ github.actor }}! 🎉 Thank you for submitting your first pull request to GES. Your contribution is valuable and we appreciate your efforts to improve our project. We'll review your changes and provide feedback as soon as possible. Keep up the great work!"
16+
pr-message: "Great job, ${{ github.actor }}! 🎉 Thank you for submitting your first pull request to GES. Your contribution is valuable and we appreciate your efforts to improve our project. We'll review your changes and provide feedback as soon as possible. Keep up the great work!"

.github/workflows/jsoncheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
- name: json-syntax-check
1515
uses: limitusus/json-syntax-check@v2
1616
with:
17-
pattern: "\\.json$"
17+
pattern: "\\.json$"

.prettierrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

CODE_OF_CONDUCT.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
1717
Examples of behavior that contributes to a positive environment for our
1818
community include:
1919

20-
- Demonstrating empathy and kindness toward other people
21-
- Being respectful of differing opinions, viewpoints, and experiences
22-
- Giving and gracefully accepting constructive feedback
23-
- Accepting responsibility and apologizing to those affected by our mistakes,
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
2424
and learning from the experience
25-
- Focusing on what is best not just for us as individuals, but for the
25+
* Focusing on what is best not just for us as individuals, but for the
2626
overall community
2727

2828
Examples of unacceptable behavior include:
2929

30-
- The use of sexualized language or imagery, and sexual attention or
30+
* The use of sexualized language or imagery, and sexual attention or
3131
advances of any kind
32-
- Trolling, insulting or derogatory comments, and personal or political attacks
33-
- Public or private harassment
34-
- Publishing others' private information, such as a physical or email
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email
3535
address, without their explicit permission
36-
- Other conduct which could reasonably be considered inappropriate in a
36+
* Other conduct which could reasonably be considered inappropriate in a
3737
professional setting
3838

3939
## Enforcement Responsibilities
@@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
106106
### 4. Permanent Ban
107107

108108
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
109+
standards, including sustained inappropriate behavior, harassment of an
110110
individual, or aggression toward or disparagement of classes of individuals.
111111

112112
**Consequence**: A permanent ban from any sort of public interaction within

contributing.md

Lines changed: 32 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,66 @@
1-
### How to contribute.
1+
### How to contribute.
22

33
> There two ways you can contribute here
4-
5-
- Direct from GitHub
4+
- Direct from GitHub
65
- Using a code editor(e.g vs code)
76

7+
8+
89
First Fork the repository
910
![First Fork the repository](https://user-images.githubusercontent.com/88102392/226692241-59d8adad-78ac-437a-99bb-c1396b9e61cf.png)
1011

1112
# 1. Step Direct from GitHub
13+
- After forking the repository click on `go to file`
1214

13-
- After forking the repository click on `go to file`
15+
![Go to file](https://user-images.githubusercontent.com/88102392/226693809-e96e3bfd-c5c2-4463-871e-5bcc1f8ef9e3.png)
1416

15-
![Go to file](https://user-images.githubusercontent.com/88102392/226693809-e96e3bfd-c5c2-4463-871e-5bcc1f8ef9e3.png)
17+
- Navigate to the `src/data/error.json`
1618

17-
- Navigate to the `src/data/error.json`
19+
![image](https://user-images.githubusercontent.com/88102392/226694741-92c67935-db29-4340-ae15-8beaa2651b09.png)
20+
21+
- Add your code in the `error.json` file usng this format
1822

19-
![image](https://user-images.githubusercontent.com/88102392/226694741-92c67935-db29-4340-ae15-8beaa2651b09.png)
23+
```code
24+
{
25+
"type": "<Problem-type (e.g push, merge etc.)>",
26+
"title": "<Exact title of the error>",
27+
"description": "<Description of the error>",
28+
"solutions": "<Soliution of the error>"
29+
}
2030
21-
- Add your code in the `error.json` file usng this format
31+
```
32+
- Now add a suitable commit message like this & create a new branch by clicking the second option. Click on Propose changes
2233

23-
```code
24-
{
25-
"type": "<Problem-type (e.g push, merge etc.)>",
26-
"title": "<Exact title of the error>",
27-
"description": "<Description of the error>",
28-
"solutions": "<Soliution of the error>"
29-
}
30-
31-
```
34+
![image](https://user-images.githubusercontent.com/88102392/226696447-ca59da05-47e9-48d4-9b11-0821356d7dab.png)
3235

33-
- Now add a suitable commit message like this & create a new branch by clicking the second option. Click on Propose changes
3436

35-
![image](https://user-images.githubusercontent.com/88102392/226696447-ca59da05-47e9-48d4-9b11-0821356d7dab.png)
37+
- Click on `Compare & across forks `, Select `devvsakib/github-error-solve` in the base repository & also click on `Create Pull Request ` button.
3638

37-
- Click on `Compare & across forks `, Select `devvsakib/github-error-solve` in the base repository & also click on `Create Pull Request ` button.
39+
![image](https://user-images.githubusercontent.com/88102392/226697482-95f5b392-bfae-4301-bd9d-eead9734045f.png)
3840

39-
![image](https://user-images.githubusercontent.com/88102392/226697482-95f5b392-bfae-4301-bd9d-eead9734045f.png)
41+
- Fill the description & add a best commit title & create Pull request
4042

41-
- Fill the description & add a best commit title & create Pull request
43+
![image](https://user-images.githubusercontent.com/88102392/226698872-e2254cf0-a794-4e76-8926-cd1aa3bbb804.png)
44+
45+
4246

43-
![image](https://user-images.githubusercontent.com/88102392/226698872-e2254cf0-a794-4e76-8926-cd1aa3bbb804.png)
44-
45-
That's it.
46-
47-
# 2. Using a Code editor(e.g Vs code)
47+
That's it.
4848

49+
# 2. Using a Code editor(e.g Vs code)
50+
4951
Clone the repository.
50-
5152
```console
5253
git clone https://github.com/<Your-GitHub-Username>/github-error-solve.git
5354
```
54-
5555
- Navigate to folder
56-
5756
```console
5857
cd github-error-solve
5958
```
60-
6159
- Install node dependencies
62-
6360
```console
6461
yarn
6562
```
66-
6763
- Start the project
68-
6964
```console
7065
yarn run dev
7166
```
@@ -75,9 +70,7 @@ yarn run dev
7570
```console
7671
git checkout -b <name-of-your-branch>
7772
```
78-
79-
- Add upstream command
80-
73+
- Add upstream command
8174
```console
8275
git remote add upstream https://github.com/devvsakib/github-error-solve.git
8376
```
@@ -108,11 +101,11 @@ or
108101

109102
- The response should be like this
110103

104+
111105
```console
112106
On branch <name-of-your-branch>
113107
nothing to commit, working tree clean
114108
```
115-
116109
- Pushing your repository to GitHub.
117110

118111
```console
@@ -124,4 +117,4 @@ nothing to commit, working tree clean
124117
- Click on that button, this will load a new page, comparing the local branch in your forked repository against the main branch. Click the green `Create Pull Request` button.
125118

126119
**Troubleshoot**
127-
Facing problem starting the server or any other problem? Please let us know by raising an <a href="https://github.com/devvsakib/github-error-solve/issues/new">Issue</a>
120+
Facing problem starting the server or any other problem? Please let us know by raising an <a href="https://github.com/devvsakib/github-error-solve/issues/new">Issue</a>

index.html

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>GitHub Error Solve - Opensource Projects</title>
8-
<link rel="shortcut icon" href="githubfavicon.png" type="image/x-icon" />
8+
<link rel="shortcut icon" href="githubfavicon.png" type="image/x-icon">
99
<link rel="stylesheet" href="./dist/output.css" />
1010
<link rel="preconnect" href="https://fonts.googleapis.com" />
1111
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
1212
<link
1313
href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap"
1414
rel="stylesheet"
1515
/>
16-
<meta
17-
name="google-site-verification"
18-
content="%VITE_GOOGLE_SITE_VERIFICATION%"
19-
/>
16+
<meta name="google-site-verification" content="%VITE_GOOGLE_SITE_VERIFICATION%" />
2017
</head>
2118
<body>
2219
<div id="root"></div>
2320
<script type="module" src="/src/main.jsx"></script>
2421
</body>
25-
</html>
22+
</html>

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"scripts": {
77
"dev": "vite --open",
88
"build": "vite build",
9-
"preview": "vite preview",
10-
"format": "prettier src/. --write"
9+
"preview": "vite preview"
1110
},
1211
"dependencies": {
1312
"@ant-design/icons": "^5.3.7",
@@ -16,7 +15,7 @@
1615
"antd": "^5.19.1",
1716
"axios": "^1.2.2",
1817
"framer-motion": "^10.8.3",
19-
"prettier": "3.3.3",
18+
"prettier": "^3.3.3",
2019
"react": "^18.2.0",
2120
"react-dom": "^18.2.0",
2221
"react-hot-toast": "^2.4.0",

postcss.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ module.exports = {
33
tailwindcss: {},
44
autoprefixer: {},
55
},
6-
};
6+
}

public/assets/posts/git_hooks_automating_your_workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ Remember, while hooks are powerful, they should be used judiciously. Overly rest
118118

119119
Happy coding, and may your Git hooks serve you well!
120120

121-
> Written by **Sakib Ahmed** | [GitHub](https://github.com/devvsakib)
121+
> Written by **Sakib Ahmed** | [GitHub](https://github.com/devvsakib)

public/assets/posts/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
{
99
"title": "git_hooks_automating_your_workflow"
1010
}
11-
]
11+
]

public/assets/posts/mastering_git_branching_strategies.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@ Additional supporting branches include:
2525
- Hotfix branches
2626

2727
#### Pros:
28-
2928
- Clear separation of concerns
3029
- Suitable for projects with scheduled releases
3130

3231
#### Cons:
33-
3432
- Can be complex for smaller projects
3533
- May lead to long-lived feature branches
3634

@@ -46,12 +44,10 @@ GitHub Flow is a simpler alternative to GitFlow. It uses a single main branch an
4644
6. Merge to `main`
4745

4846
#### Pros:
49-
5047
- Simple and easy to understand
5148
- Encourages continuous delivery
5249

5350
#### Cons:
54-
5551
- Less suitable for projects with multiple versions in production
5652

5753
### 3. Trunk-Based Development
@@ -63,12 +59,10 @@ This strategy involves keeping branches short-lived and merging frequently to a
6359
- `main` is always in a releasable state
6460

6561
#### Pros:
66-
6762
- Supports continuous integration effectively
6863
- Reduces merge conflicts
6964

7065
#### Cons:
71-
7266
- Requires a robust testing and CI/CD pipeline
7367
- May be challenging for less experienced teams
7468

@@ -100,4 +94,4 @@ Remember, the best strategy is one that your team can follow effectively. Start
10094

10195
Happy branching!
10296

103-
> Written by **Sakib Ahmed** | [GitHub](https://github.com/devvsakib)
97+
> Written by **Sakib Ahmed** | [GitHub](https://github.com/devvsakib)

0 commit comments

Comments
 (0)