2021-04-18 22:47:18 +05:00
|
|
|
# Hello
|
|
|
|
This document is for people who want to contribute to this project!
|
|
|
|
|
|
|
|
# Code Style
|
|
|
|
|
|
|
|
## Formatting
|
|
|
|
We are using **[Prettier](https://prettier.io)** to format the code.
|
|
|
|
|
|
|
|
## File names
|
|
|
|
- Always use `PascalCase` for the files containing classes (example: `Queue`, `Track`, `Player` etc.)
|
|
|
|
|
|
|
|
## Some Rules
|
|
|
|
- Use `camelCase` for `Function names`, `Variables`, etc. and `PascalCase` for `Class name`
|
|
|
|
- Do not make unused variables/imports
|
2021-08-09 19:56:40 +05:00
|
|
|
- Don't forget to write `JSDOC` for each property and method
|
2021-04-18 22:47:18 +05:00
|
|
|
- Use English language
|
|
|
|
|
|
|
|
# Pull Requests
|
|
|
|
- Use English language
|
|
|
|
- Explain what your update does
|
2021-04-21 15:47:14 +05:00
|
|
|
- Run `npm run docs:test` command to make sure documentation is working
|
|
|
|
- Format the code properly with `npm run format`
|