refactor(husky): add pre-commits
This commit is contained in:
		
							
								
								
									
										6
									
								
								.lintstagedrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.lintstagedrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| { | ||||
|   "*": ["editorconfig-checker"], | ||||
|   "*.{js,jsx,ts,tsx}": ["prettier --write", "eslint --fix"], | ||||
|   "*.{json,jsonc,yml,yaml}": ["prettier --write"], | ||||
|   "*.{md,mdx}": ["prettier --write", "markdownlint --dot --fix"] | ||||
| } | ||||
		Reference in New Issue
	
	Block a user