You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Have you read the contributing guidelines ?](https://github.com/SpaceyaTech/SYT-Web-Redesign/blob/Dev/docs/CONTRIBUTING.md)
2
2
3
-
# What is the purpose of your *pull request*?
3
+
# What is the purpose of your _pull request_?
4
4
5
-
- [ ] Bug fix
6
-
- [ ] New feature
5
+
- [ ] Bug fix
6
+
- [ ] New feature
7
+
- [ ] Documentation
7
8
8
9
# Proposed changes
9
10
10
-
11
11
# Warning
12
12
13
13
Please read these points carefully and answer honestly with an `X`
14
-
into all the boxes. Example : [X]
14
+
into all the boxes. Example : [X]
15
+
16
+
Before submitting a _pull request_ make sure you have:
17
+
18
+
- [ ] Read the guidelines for contributing.
19
+
- [ ] Wrote some tests.
20
+
- [ ] Respected the linting guidelines (read the guide below for help).
21
+
22
+
## How to Check and Fix Linting Issues
23
+
24
+
Run `npm run validate`. This command will run prettier and eslint checks to ensure linting guidelines are respected.
15
25
16
-
Before submitting a *pull request* make sure you have:
26
+
- If the command exits with code 0 (build is successful), there are no linting issues.
17
27
18
-
- [ ] Read the guidelines for contributing.
19
-
- [ ] Wrote some tests.
20
-
- [ ] Respected the linting guidelines.
28
+
- If the command exits with a code other than 0, scroll up the command output and look for identified linting issues. Fix them and revalidate to check if the issues have been resolved by re-running the command.
0 commit comments