You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Merge pull request #3525 from MichaelKohler/fix-constant-name
Rename UPPER_CAMEL_CASE to UPPER_SNAKE_CASE in Coding Style
This commit is contained in:
@ -34,7 +34,7 @@ General Style
|
|||||||
- UpperCamelCase for class and type names
|
- UpperCamelCase for class and type names
|
||||||
- lowerCamelCase for functions and variables.
|
- lowerCamelCase for functions and variables.
|
||||||
- Single line ternary operators are fine.
|
- Single line ternary operators are fine.
|
||||||
- UPPER_CAMEL_CASE for constants
|
- UPPER_SNAKE_CASE for constants
|
||||||
- Single quotes for strings by default, for consistency with most JavaScript styles:
|
- Single quotes for strings by default, for consistency with most JavaScript styles:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
Reference in New Issue
Block a user