mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Create .editorconfig (#524)
* Create .editorconfig Code formatting instruction for editors https://editorconfig.org/ * Add tcc Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
		
							
								
								
									
										27
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | |||||||
|  | root = true | ||||||
|  |  | ||||||
|  | # general | ||||||
|  | [*] | ||||||
|  | end_of_line = lf | ||||||
|  | insert_final_newline = true | ||||||
|  | charset = utf-8 | ||||||
|  |  | ||||||
|  | # python | ||||||
|  | [*.{py}] | ||||||
|  | indent_style = space | ||||||
|  | indent_size = 4 | ||||||
|  |  | ||||||
|  | # C++ | ||||||
|  | [*.{cpp,h,tcc}] | ||||||
|  | indent_style = space | ||||||
|  | indent_size = 2 | ||||||
|  |  | ||||||
|  | # Web | ||||||
|  | [*.{js,html,css}] | ||||||
|  | indent_style = space | ||||||
|  | indent_size = 2 | ||||||
|  |  | ||||||
|  | # YAML | ||||||
|  | [*.{yaml,yml}] | ||||||
|  | indent_style = space | ||||||
|  | indent_size = 2 | ||||||
		Reference in New Issue
	
	Block a user