mirror of
https://github.com/web-infra-dev/midscene.git
synced 2025-06-26 23:30:04 +00:00

* fix: ai tap in report * chore(playwright): update lockfile * fix(core): lint --------- Co-authored-by: yutao <yutao.tao@bytedance.com>
25 lines
526 B
JavaScript
25 lines
526 B
JavaScript
// commitlint.config.js
|
|
module.exports = {
|
|
extends: ['@commitlint/config-conventional'],
|
|
rules: {
|
|
'scope-enum': [
|
|
2, // Level: Error
|
|
'always', // Apply rule always
|
|
[
|
|
// Allowed scopes
|
|
'core',
|
|
'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'],
|
|
},
|
|
};
|