Files
landing/commitlint.config.js

31 lines
833 B
JavaScript
Raw Normal View History

/** @type {import('@commitlint/types').UserConfig} */
export default {
extends: ["@commitlint/config-conventional"],
rules: {
"type-enum": [
2,
"always",
[
"feat",
"fix",
"docs",
"style",
"refactor",
"perf",
"test",
"build",
"ci",
"chore",
"revert",
],
],
"scope-enum": [1, "always", ["page", "style", "config", "deps"]],
"scope-empty": [1, "never"],
"subject-case": [0],
"subject-empty": [2, "never"],
"subject-full-stop": [2, "never", "."],
"body-leading-blank": [2, "always"],
"footer-leading-blank": [2, "always"],
},
};