midscene/commitlint.config.js
Leyang 76eb4e1417
fix(report): ai tap in report (#594)
* fix: ai tap in report

* chore(playwright): update lockfile

* fix(core): lint

---------

Co-authored-by: yutao <yutao.tao@bytedance.com>
2025-04-18 18:42:47 +08:00

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'],
},
};