feat: added editorconfig
This commit is contained in:
		
							parent
							
								
									f47146583e
								
							
						
					
					
						commit
						ee0358dcf5
					
				
					 3 changed files with 30 additions and 0 deletions
				
			
		
							
								
								
									
										22
									
								
								.editorconfig
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.editorconfig
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,22 @@ | |||
| # SPDX-FileCopyrightText: 2023 Tobias Schmidl | ||||
| # | ||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | ||||
| 
 | ||||
| # EditorConfig is awesome: https://EditorConfig.org | ||||
| 
 | ||||
| # top-most EditorConfig file | ||||
| root = true | ||||
| 
 | ||||
| [*] | ||||
| indent_style = space | ||||
| indent_size = 4 | ||||
| end_of_line = lf | ||||
| charset = utf-8 | ||||
| trim_trailing_whitespace = true | ||||
| insert_final_newline = true | ||||
| 
 | ||||
| [*.{yaml,yml}] | ||||
| indent_size = 2 | ||||
| 
 | ||||
| [Makefile] | ||||
| indent_style = tab | ||||
|  | @ -16,4 +16,8 @@ repos: | |||
|   rev: v2.1.0 | ||||
|   hooks: | ||||
|   - id: reuse | ||||
| - repo: https://github.com/editorconfig-checker/editorconfig-checker.python | ||||
|   rev: '2.7.2' | ||||
|   hooks: | ||||
|   - id: editorconfig-checker | ||||
| ... | ||||
|  |  | |||
|  | @ -14,6 +14,8 @@ org.opencontainers.image.title=buildimage \ | |||
| org.opencontainers.image.source="https://git.schmidl.dev/schtobia/buildimage" \ | ||||
| org.opencontainers.image.url="https://git.schmidl.dev/schtobia/buildimage" | ||||
| 
 | ||||
| # editorconfig-checker-disable | ||||
| 
 | ||||
| RUN apt update \ | ||||
|  && apt install --assume-yes --no-install-recommends \ | ||||
|         build-essential \ | ||||
|  | @ -21,6 +23,8 @@ RUN apt update \ | |||
|         git \ | ||||
|  && find /var/lib/apt -type f -delete | ||||
| 
 | ||||
| # editorconfig-checker-enable | ||||
| 
 | ||||
| RUN useradd -rm builder | ||||
| 
 | ||||
| USER builder | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue