mirror of
				https://github.com/remvze/moodist.git
				synced 2025-11-03 19:17:04 -05:00 
			
		
		
		
	chore: add Commitlint
This commit is contained in:
		
							parent
							
								
									3bed00a1ee
								
							
						
					
					
						commit
						50341d19bb
					
				
							
								
								
									
										3
									
								
								.commitlintrc.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.commitlintrc.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "extends": ["@commitlint/config-conventional"]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										4
									
								
								.husky/commit-msg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								.husky/commit-msg
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/env sh
 | 
				
			||||||
 | 
					. "$(dirname -- "$0")/_/husky.sh"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					npx commitlint --edit $1
 | 
				
			||||||
							
								
								
									
										1876
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1876
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -24,6 +24,8 @@
 | 
				
			|||||||
    "react-dom": "^18.2.0"
 | 
					    "react-dom": "^18.2.0"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
 | 
					    "@commitlint/cli": "17.7.2",
 | 
				
			||||||
 | 
					    "@commitlint/config-conventional": "17.7.0",
 | 
				
			||||||
    "@typescript-eslint/eslint-plugin": "6.7.4",
 | 
					    "@typescript-eslint/eslint-plugin": "6.7.4",
 | 
				
			||||||
    "@typescript-eslint/parser": "6.7.4",
 | 
					    "@typescript-eslint/parser": "6.7.4",
 | 
				
			||||||
    "astro-eslint-parser": "0.16.0",
 | 
					    "astro-eslint-parser": "0.16.0",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user