@ 261107.22
current
const config = {
    extends: ['@commitlint/config-conventional'],
    parserPreset: 'conventional-changelog-conventionalcommits',
    rules: {
        'type-enum': [
            2,
            'always',
            [
                'build',
                'chore',
                'ci',
                'debug',
                'docs',
                'feat',
                'fix',
                'perf',
                'refactor',
                'release',
                'revert',
                'style',
                'test',
                'sec', // security
            ],
        ],
        'scope-enum': [
            2,
            'always',
            [
                // General
                'deps',
                'deps-dev',
                'examples',
                'ci',
                'ops',
                'docs',
                'tests',
                'ai',
                // Projects
                'jco',
                'node-fs',
                'bare-jco',
                'bindgen',
                'p2-shim',
                'p3-shim',
                'transpile',
                'rolldown-plugin-jco',
                'runtime',
                'std',
            ],
        ],
        'scope-case': [2, 'always', 'lower-case'],
        'body-max-line-length': [1, 'always', 100],
    },
};

export default config;