mirror of
https://github.com/web-infra-dev/midscene.git
synced 2025-06-26 23:30:04 +00:00
24 lines
510 B
JavaScript
24 lines
510 B
JavaScript
![]() |
// commitlint.config.js
|
||
|
module.exports = {
|
||
|
extends: ['@commitlint/config-conventional'],
|
||
|
rules: {
|
||
|
'scope-enum': [
|
||
|
2, // Level: Error
|
||
|
'always', // Apply rule always
|
||
|
[
|
||
|
// Allowed scopes
|
||
|
'workflow',
|
||
|
'android',
|
||
|
'llm',
|
||
|
'playwright',
|
||
|
'puppeteer',
|
||
|
'mcp',
|
||
|
'bridge',
|
||
|
// Add other relevant scopes for your project if needed
|
||
|
],
|
||
|
],
|
||
|
// Add rule to disallow empty scopes
|
||
|
'scope-empty': [2, 'never'],
|
||
|
},
|
||
|
};
|