repo_description: 🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable, and developer-first.
repo_topics: api cms cms-framework content-management content-management-system customizable dashboard graphql hacktoberfest headless-cms jamstack javascript koa koa2 mysql no-code nodejs rest strapi typescript
code: import type { UserConfig } from '@commitlint/types';
  import { RuleConfigSeverity } from '@commitlint/types';
  
  const config: UserConfig = {
    extends: ['@commitlint/config-conventional'],
    rules: {
      'type-enum': [
        RuleConfigSeverity.Error,
        'always',
        [
          'chore',
          'ci',
          'docs',
          'enhancement',
          'feat',
          'fix',
          'release',
          'revert',
          'security',
          'test',
          'future',
        ],
      ],
    },
    ignores: [
      (commitMessage) => {
        // add an exception for github
        return /^Merge branch '.*' into [a-zA-Z0-9\/\-_]+$/.test(commitMessage);
      },
    ],
  };
  
  export default config;
  