-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: husky, lint-staged 세팅 및 commitlint 세팅 (#7)
- husky, lint-staged 세팅 및 commitlint 세팅
- Loading branch information
1 parent
e0f3950
commit 6c3f9af
Showing
108 changed files
with
1,934 additions
and
58 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
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,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
yarn lint-staged |
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,9 @@ | ||
{ | ||
"*.{js,jsx,ts,tsx}": [ | ||
"yarn lint --cache", | ||
"yarn test:unit --findRelatedTests --passWithNoTests" | ||
], | ||
"*.scss": [ | ||
"yarn stylelint" | ||
] | ||
} |
Binary file not shown.
Binary file added
BIN
+4.38 KB
.yarn/cache/@commitlint-config-conventional-npm-18.4.4-efb27ad3aa-53238dfac4.zip
Binary file not shown.
Binary file added
BIN
+7.32 KB
.yarn/cache/@commitlint-config-validator-npm-18.4.4-e903289934-6712b83a12.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.56 KB
.yarn/cache/@commitlint-execute-rule-npm-18.4.4-d9423b5542-f09d966479.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.34 KB
.yarn/cache/@commitlint-is-ignored-npm-18.4.4-5e86c2f12a-d1eebb66c1.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.91 KB
.yarn/cache/@commitlint-resolve-extends-npm-18.4.4-7834d28c9c-b48946fa43.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.13 KB
.yarn/cache/@commitlint-to-lines-npm-18.4.4-240cd054c8-3b20474326.zip
Binary file not shown.
Binary file added
BIN
+3.59 KB
.yarn/cache/@commitlint-top-level-npm-18.4.4-c9792baec1-4946352a57.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+7 KB
...ette-npm-2.0.19-f73dfe6a4e-6e2606435c.zip → ...ette-npm-2.0.20-692d428726-0b8de48bfa.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.95 KB
.yarn/cache/conventional-changelog-angular-npm-7.0.0-de5edb79f0-e7966d2fee.zip
Binary file not shown.
Binary file added
BIN
+9.56 KB
.yarn/cache/conventional-changelog-conventionalcommits-npm-7.0.2-f878f86efe-3cc6586ac5.zip
Binary file not shown.
Binary file added
BIN
+11 KB
.yarn/cache/conventional-commits-parser-npm-5.0.0-8c896e66c7-3b56a93131.zip
Binary file not shown.
Binary file added
BIN
+8.65 KB
.yarn/cache/cosmiconfig-typescript-loader-npm-5.0.0-6462903b70-ccbb367fe9.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.5 KB
.yarn/cache/is-fullwidth-code-point-npm-4.0.0-848488b60d-8ae89bf505.zip
Binary file not shown.
Binary file added
BIN
+2.85 KB
.yarn/cache/is-fullwidth-code-point-npm-5.0.0-5eb90c2a6e-8dfb2d2831.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+11.4 KB
.yarn/cache/normalize-package-data-npm-2.5.0-af0345deed-644f830a8b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,8 @@ | ||
module.exports = { | ||
/** | ||
* NOTE | ||
* commit type :build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test | ||
* https://github.com/conventional-changelog/commitlint/blob/master/docs/reference-rules.md | ||
* */ | ||
extends: ['@commitlint/config-conventional'], | ||
}; |
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.