mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	chore: add dprint config
add initial dprint configuration, settings partially taken from the prettier config, still might need some finetuning
This commit is contained in:
		
							parent
							
								
									6336699618
								
							
						
					
					
						commit
						1c04aa9963
					
				
							
								
								
									
										44
									
								
								.dprint.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								.dprint.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,44 @@ | |||||||
|  | { | ||||||
|  |   "typescript": { | ||||||
|  |     "indentWidth": 4, | ||||||
|  |     "quoteStyle": "preferDouble", | ||||||
|  |     "semiColons": "prefer", | ||||||
|  |     "quoteProps": "asNeeded", | ||||||
|  |     "newLineKind": "lf", | ||||||
|  |     "lineWidth": 200, | ||||||
|  |     "trailingCommas": "never", | ||||||
|  |     "arrayPattern.spaceAround": true, | ||||||
|  |     "arrayExpression.spaceAround": true | ||||||
|  |   }, | ||||||
|  |   "json": { | ||||||
|  |   }, | ||||||
|  |   "markdown": { | ||||||
|  |   }, | ||||||
|  |   "dockerfile": { | ||||||
|  |   }, | ||||||
|  |   "malva": { | ||||||
|  |   }, | ||||||
|  |   "markup": { | ||||||
|  |   }, | ||||||
|  |   "yaml": { | ||||||
|  |   }, | ||||||
|  |   "excludes": [ | ||||||
|  |     "**/node_modules", | ||||||
|  |     "**/*-lock.json", | ||||||
|  |     "*.html", | ||||||
|  |     "*.md", | ||||||
|  |     "*.yml", | ||||||
|  |     "libraries/*", | ||||||
|  |     "docs/*", | ||||||
|  |     "src/public/app/doc_notes" | ||||||
|  |   ], | ||||||
|  |   "plugins": [ | ||||||
|  |     "https://plugins.dprint.dev/typescript-0.94.0.wasm", | ||||||
|  |     "https://plugins.dprint.dev/json-0.20.0.wasm", | ||||||
|  |     "https://plugins.dprint.dev/markdown-0.18.0.wasm", | ||||||
|  |     "https://plugins.dprint.dev/dockerfile-0.3.2.wasm", | ||||||
|  |     "https://plugins.dprint.dev/g-plane/malva-v0.11.1.wasm", | ||||||
|  |     "https://plugins.dprint.dev/g-plane/markup_fmt-v0.19.0.wasm", | ||||||
|  |     "https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm" | ||||||
|  |   ] | ||||||
|  | } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Panagiotis Papadopoulos
						Panagiotis Papadopoulos