mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +00:00 
			
		
		
		
	
		
			
	
	
		
			27 lines
		
	
	
		
			495 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
		
		
			
		
	
	
			27 lines
		
	
	
		
			495 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
|   | import type { UserConfig } from '@commitlint/types'; | ||
|  | import { RuleConfigSeverity } from '@commitlint/types'; | ||
|  | 
 | ||
|  | const config: UserConfig = { | ||
|  |   extends: ['@commitlint/config-conventional'], | ||
|  |   rules: { | ||
|  |     'type-enum': [ | ||
|  |       RuleConfigSeverity.Error, | ||
|  |       'always', | ||
|  |       [ | ||
|  |         'chore', | ||
|  |         'ci', | ||
|  |         'docs', | ||
|  |         'enhancement', | ||
|  |         'feat', | ||
|  |         'fix', | ||
|  |         'release', | ||
|  |         'revert', | ||
|  |         'security', | ||
|  |         'test', | ||
|  |       ], | ||
|  |     ], | ||
|  |   }, | ||
|  | }; | ||
|  | 
 | ||
|  | export default config; |