Browse Source

Minor typo fix and added yarn.lock

pull/16/head
Suhair Zain 4 years ago
committed by GitHub
parent
commit
17daea1ecf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      README.md

4
README.md

@ -363,7 +363,7 @@ _Bad 👎🏻_
$ ls -la
package.json
package-lock.json
package-lock.json // or yarn.lock
```
### 💩 Always name your boolean value a `flag`
@ -385,7 +385,7 @@ let isEmpty = false;
### 💩 Long-read functions are better than short ones.
Don't divide a program logic into readable pieces. What if your IDE's search brakes and you will not be able to find the necessary file or function?
Don't divide a program logic into readable pieces. What if your IDE's search breaks and you will not be able to find the necessary file or function?
- 10000 lines of code in one file is OK.
- 1000 lines of a function body is OK.

Loading…
Cancel
Save