<commit_before>module.exports = {
    rules: {
        // Subject
        'subject-empty': [2, 'never'],
        'subject-full-stop': [2, 'never', '.'],
        'subject-max-length': [2, 'always', 85],
        'subject-min-length': [2, 'always', 10],
        // Type
        'type-enum': [2,'always',['ci','docs','feature','fix','improvement','perf','refactor','revert','style','test', 'unit-test']],
        'type-empty': [2, 'never'],
        // Scope
        'scope-empty': [2, 'never'],
        'scope-case': [2, 'always', ['lower-case']],
        'scope-min-length': [2, 'always', 5],
        // Body
        'body-min-length': [2, 'always', 30],
        'body-max-line-length': [2, 'always', 100],
        'body-leading-blank': [2, 'always'],
    }
};
<commit_msg>improvement(CommitLint): allow case insensitive scope<commit_after>module.exports = {
    rules: {
        // Subject
        'subject-empty': [2, 'never'],
        'subject-full-stop': [2, 'never', '.'],
        'subject-max-length': [2, 'always', 85],
        'subject-min-length': [2, 'always', 10],
        // Type
        'type-enum': [2,'always',['ci','docs','feature','fix','improvement','perf','refactor','revert','style','test', 'unit-test']],
        'type-empty': [2, 'never'],
        // Scope
        'scope-empty': [2, 'never'],
        'scope-min-length': [2, 'always', 5],
        // Body
        'body-min-length': [2, 'always', 30],
        'body-max-line-length': [2, 'always', 100],
        'body-leading-blank': [2, 'always'],
    }
};

{'fraction_non_alphanumeric': 0.2508185985592665, 'fraction_numerical': 0.028159790438768827, 'mean_word_length': 2.44920993227991, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5245669', 'n_tokens_mistral': 538, 'n_tokens_neox': 527, 'n_words': 96}