mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
17 lines
505 B
JavaScript
17 lines
505 B
JavaScript
const conventional = require("@commitlint/config-conventional");
|
|
|
|
module.exports = {
|
|
extends: ["@commitlint/config-conventional"],
|
|
plugins: ["commitlint-plugin-function-rules"],
|
|
helpUrl: "https://github.com/heroui-inc/heroui/blob/main/CONTRIBUTING.md#commit-convention",
|
|
rules: {
|
|
...conventional.rules,
|
|
"type-enum": [
|
|
2,
|
|
"always",
|
|
["feat", "feature", "fix", "refactor", "docs", "build", "test", "ci", "chore"],
|
|
],
|
|
"function-rules/header-max-length": [0],
|
|
},
|
|
};
|