mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-11-04 02:02:14 +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
 | 
					- 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
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user