mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:39:37 -05:00 
			
		
		
		
	Add web check / lint npm commands
`svelte-check` returns some "hints" that can be ignored since some are not true and others are not relevant.
This commit is contained in:
		
							parent
							
								
									aed94bfc4c
								
							
						
					
					
						commit
						6725954b70
					
				@ -6,10 +6,14 @@
 | 
				
			|||||||
		"build": "vite build",
 | 
							"build": "vite build",
 | 
				
			||||||
		"package": "svelte-kit package",
 | 
							"package": "svelte-kit package",
 | 
				
			||||||
		"preview": "vite preview",
 | 
							"preview": "vite preview",
 | 
				
			||||||
		"check": "svelte-check --tsconfig ./tsconfig.json",
 | 
							"check": "svelte-check --tsconfig ./tsconfig.json --fail-on-warnings",
 | 
				
			||||||
		"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
 | 
							"check:watch": "npm run check -- --watch",
 | 
				
			||||||
		"lint": "prettier --check --plugin-search-dir=. . && eslint .",
 | 
							"check:code": "npm run format && npm run lint && npm run check",
 | 
				
			||||||
		"format": "prettier --write --plugin-search-dir=. .",
 | 
							"check:all": "npm run check:code && npm test",
 | 
				
			||||||
 | 
							"lint": "eslint . --max-warnings 0",
 | 
				
			||||||
 | 
							"lint:fix": "npm run lint -- --fix",
 | 
				
			||||||
 | 
							"format": "prettier --check --plugin-search-dir=. .",
 | 
				
			||||||
 | 
							"format:fix": "prettier --write --plugin-search-dir=. .",
 | 
				
			||||||
		"test": "jest",
 | 
							"test": "jest",
 | 
				
			||||||
		"test:watch": "npm test -- --watch"
 | 
							"test:watch": "npm test -- --watch"
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user