mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
33 lines
623 B
JavaScript
33 lines
623 B
JavaScript
import conventional from "@commitlint/config-conventional";
|
|
|
|
/**
|
|
* Commitlint config
|
|
*/
|
|
const commitLintConfig = {
|
|
extends: ["@commitlint/config-conventional"],
|
|
helpUrl: "https://github.com/heroui-inc/heroui/blob/main/CONTRIBUTING.md#commit-convention",
|
|
rules: {
|
|
...conventional.rules,
|
|
"header-max-length": [0],
|
|
"type-enum": [
|
|
2,
|
|
"always",
|
|
[
|
|
"feat",
|
|
"fix",
|
|
"refactor",
|
|
"style",
|
|
"docs",
|
|
"test",
|
|
"build",
|
|
"ci",
|
|
"chore",
|
|
"revert",
|
|
"feature",
|
|
],
|
|
],
|
|
},
|
|
};
|
|
|
|
export default commitLintConfig;
|