Mohamed Shahawy
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Mohamed Shahawy on 6/16/2024 in #questions
Commitlint issue
i run command git commit -m "feat(ui): Add initial UI components for the app"
but found this message
[email protected] test commitlint --from HEAD~1 --to HEAD && exit 0⧗ input: your commit message ✖ subject may not be empty [subject-empty] ✖ subject must end with full stop [subject-full-stop] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint husky - pre-commit hook exited with code 1 (error) my config file for commitlint module.exports = { extends: ["@commitlint/config-conventional"], rules: { "type-empty": [2, "never"], "type-case": [2, "always", "lower-case"], "scope-empty": [2, "never"], "scope-case": [2, "always", "lower-case"], "subject-min-length": [2, "always", 3], "subject-case": [2, "always", "sentence-case"], "subject-full-stop": [2, "never", "."], "header-max-length": [2, "always", 72], "type-enum": [ 2, "always", ["feat", "fix", "docs", "style", "refactor", "test", "chore"], ], "scope-enum": [2, "always", ["core", "ui", "api", "docs"]], "scope-max-length": [2, "always", 100], }, };
1 replies
RRefine
•Created by conscious-sapphire on 3/8/2023 in #ask-any-question
cross origin error image
5 replies