-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: setup commitizen * chore: revert commit-msg * chore: setup for windows
- Loading branch information
1 parent
8f9c50a
commit 0b1c61b
Showing
6 changed files
with
406 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"path": "@commitlint/cz-commitlint" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn commitlint --edit $1 | ||
yarn commitlint --edit "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
[[ "$(uname -a)" = *"MINGW64"* ]] && exit 0 | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
exec < /dev/tty && yarn cz --hook || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
/** @type {import('@commitlint/types').UserConfig} */ | ||
const CommitLintConfiguration = { | ||
extends: ["@commitlint/config-conventional"], | ||
// add your own scope here if needed | ||
// "scope-enum": [2, "always", ["components", "pages", "utils"]], | ||
"scope-case": [2, "always", "kebab-case"], | ||
rules: { | ||
// add your own scope here if needed | ||
"scope-enum": [ | ||
2, | ||
"always", | ||
["components", "layout", "pages", "styles", "utils", "types"], | ||
], | ||
"scope-case": [2, "always", "kebab-case"], | ||
}, | ||
}; | ||
|
||
module.exports = CommitLintConfiguration; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
0b1c61b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nextarter-chakra – ./
nextchakra-starter.vercel.app
nextarter-chakra-git-main-sozonome.vercel.app
nextarter-chakra-sozonome.vercel.app
nextchakra-starter.sznm.dev
nextarter-chakra.sznm.dev
nextarter-chakra.vercel.app