-
Notifications
You must be signed in to change notification settings - Fork 90
Coding Standards
Maxim Chervonny edited this page Jun 2, 2021
·
2 revisions
-
Use
prettier
. Config set at.prettierrc.json
-
Sort imports alphabetically case-insensitive by module's basename
-
Prefer wildcard-imports over destructuring imports
-
Main test unit is a function.
Describe
test for a function -
One test for one assertion
-
it
should have form according toit("should return something when circumstances")
- Use
ESLint
. Config set at.eslintrc.js