Skip to content

Commit

Permalink
fix(readme): fix readme
Browse files Browse the repository at this point in the history
fix readme
fix readme
  • Loading branch information
tobySolutions committed Jan 14, 2023
1 parent afa37bf commit 5895762
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ We have games too! 🎮

Join our amazing community on Discord and Twitter.

<a href="https://discord.com/invite/cRjhjFRRre"><img src="https://cdn.worldvectorlogo.com/logos/discord-6.svg" title="Discord" alt="Discord Community" width="40"/></a><a href="https://twitter.com/4ccommunityhq"><img src="https://cdn.worldvectorlogo.com/logos/twitter-6.svg" title="Twitter" alt="Twitter Account" width="40"/></a>
`<a href="https://discord.com/invite/cRjhjFRRre"><img src="https://cdn.worldvectorlogo.com/logos/discord-6.svg" title="Discord" alt="Discord Community" width="40"/>``</a><a href="https://twitter.com/4ccommunityhq">``<img src="https://cdn.worldvectorlogo.com/logos/twitter-6.svg" title="Twitter" alt="Twitter Account" width="40"/></a>`

<img src="https://raw.githubusercontent.com/FrancescoXX/4c-site/main/src/assets/banner.jpg" alt="4C logo">

Expand Down Expand Up @@ -120,25 +120,20 @@ To fix this, downgrade your `node` version to v16. Here is a simple way of doing

To check if everything has worked, restart your shell and run `node -v`. The output should be `v16.16.0`. If it is, you can continue working on the project!

#### Format check
#### Format and Lint check

Before PR, please check the formatting first. ESLint may show formatting errors, but just make sure that the prettier formatting is OK.

> Prettier
$ npm run lint

```console
$ npm run format:check
$ npm run lint:check
```

> Lint
#### Run commit

If you get the error `Code style issues found in the above file(s). Forgot to run Prettier?`, format and lint the files:
After checking the lint and immediately after staging your changes with "git add", type the command:

```console
$ npm run format .
$ npm run lint
```
$ npm run commit

After running the command, you can then push your changes.

Done!

Expand Down

0 comments on commit 5895762

Please sign in to comment.