chore: use prettier instead of lint:fix for 'npm run fix' (#2906)
e.g., eslint can't fix prettier problems in .json files Reviewed-on: OpenWF/SpaceNinjaServer#2906 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									e6fb675e21
								
							
						
					
					
						commit
						be3dd7ab66
					
				@ -22,7 +22,7 @@
 | 
			
		||||
    "lint:fix": "eslint --fix --ext .ts .",
 | 
			
		||||
    "prettier": "prettier --write .",
 | 
			
		||||
    "update-translations": "cd scripts && node update-translations.cjs",
 | 
			
		||||
    "fix": "npm run update-translations && npm run lint:fix"
 | 
			
		||||
    "fix": "npm run update-translations && npm run prettier"
 | 
			
		||||
  },
 | 
			
		||||
  "license": "GNU",
 | 
			
		||||
  "type": "module",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user