Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.07 KB

CONTRIBUTING.md

File metadata and controls

38 lines (29 loc) · 1.07 KB

Hello!

This document is for people who want to contribute to this project!

Code Style

Linters

We are using ESLint to lint the code. You should run npm run lint and fix the errors (if any) before pushing.

Formatting

We are using Prettier to format the code. You can run npm run format to do so.

File names

  • Always use PascalCase for the files containing classes.
  • Always use lowercase name for other files.

Some Rules

  • Use camelCase for Function names, Variables, etc. and PascalCase for Class 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

Pull Requests

  • 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