mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-02 01:01:55 +01: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:
commit
b091cf1f6d
@ -34,7 +34,7 @@ General Style
|
||||
- UpperCamelCase for class and type names
|
||||
- lowerCamelCase for functions and variables.
|
||||
- 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:
|
||||
|
||||
```javascript
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user