1
0
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:
Travis Ralston
2019-10-06 09:44:16 -06:00
committed by GitHub

View File

@ -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