Created convention file for frontend and adjusted current project files #277

Merged
bema merged 4 commits from bema/convenctions into master 2024-01-04 08:17:46 +01:00
Showing only changes of commit e96d6a222f - Show all commits

View File

@@ -79,7 +79,7 @@ This name allows to have readable code sending data to parent module:
- Functions ought to have descriptive name
- Ought to do one thing. ie. function sendRequest should send request, but not prepare request body or process response data
- In practice, if function has more than 10 SLoC, it probably should be split
- DO NOT use "any" type. Just don't.
- DO NOT use "any" type. Just don't. *Optional

DO NOT use "any" type. Just don't. *optional

DO NOT use "any" type. Just don't. *optional
- Function used in other function should be placed below it (if possible, as function can be called from many places in the code)
#### Rules regarding variables and refs: