Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Commit

Permalink
Add variable naming style guide in contributing
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Jan 14, 2020
1 parent 1c1e681 commit b7d7f10
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,16 @@ array.forEach((e) => {
```
- Space before `(` and after `)`.
*** Important ***
- testID should be written in `kebab-case`
`testID = "my-test-id"`
- Class name should be a `PascalCase`
- Constants should be written in `UPPER_SNAKE_CASE`
- Variables and functions should be written in `camelCase`
- Constant string variables should be written in `LOWER_SNAKE_CASE`
`const imgUrl = 'assets/icons/icon_add.png'`
- **If you find code that does not fit in the coding convention, do not ever try to fix code that is not related to your purpose.**
#### Prettier
Expand Down

0 comments on commit b7d7f10

Please sign in to comment.