add .editorconfig to maintain consistent coding styles (#429)
Signed-off-by: Rigel Kent <sendmemail@rigelk.eu>
This commit is contained in:
		
							parent
							
								
									490b595a01
								
							
						
					
					
						commit
						09e10ac0c9
					
				
					 1 changed files with 21 additions and 0 deletions
				
			
		
							
								
								
									
										21
									
								
								.editorconfig
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.editorconfig
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,21 @@
 | 
			
		|||
; This file is for unifying the coding style for different editors and IDEs.
 | 
			
		||||
; More information at http://editorconfig.org to setup your IDE if need be.
 | 
			
		||||
 | 
			
		||||
root = true
 | 
			
		||||
 | 
			
		||||
[*]
 | 
			
		||||
end_of_line = lf
 | 
			
		||||
charset = utf-8
 | 
			
		||||
 | 
			
		||||
[*.yml]
 | 
			
		||||
indent_style = space
 | 
			
		||||
indent_size = 2
 | 
			
		||||
 | 
			
		||||
[{client,server,shared}/**.{ts,json,js}]
 | 
			
		||||
trim_trailing_whitespace = true
 | 
			
		||||
insert_final_newline = true
 | 
			
		||||
indent_style = space
 | 
			
		||||
indent_size = 2
 | 
			
		||||
 | 
			
		||||
[*.md]
 | 
			
		||||
trim_trailing_whitespace = false
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue