This document is for people who want to contribute to this project!
We are using ESLint to lint the code. You should run npm run lint and fix the errors (if any) before pushing.
We are using Prettier to format the code. You can run npm run format to do so.
- Always use
PascalCasefor the files containing classes. - Always use
lowercasename for other files.
- Use
camelCaseforFunction names,Variables, etc. andPascalCaseforClass name - Do not make unused variables/imports
- Don't forget to write
JSDOC - Always write function return type:
const sum = (): number => 2 + 2;- Use English language
- Do not create unnecessary pull requests
- Use English language
- Properly specify your changes. Example:
⚡ | Update some method
Now something runs smoothly and provides best performance
- Run tests, formatting, etc. before making Pull Requests
- Always use Conventional Commit Messages