-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
820 additions
and
196 deletions.
There are no files selected for viewing
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,3 @@ | ||
module.exports = { | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
pre-commit: | ||
parallel: true | ||
commands: | ||
lint: | ||
glob: "*.{js,ts,tsx}" | ||
run: yarn lint {staged_files} | ||
types: | ||
glob: "*.{json,js,ts,tsx}" | ||
run: yarn tsc --noEmit | ||
test: | ||
glob: "*.{json,js,ts,tsx}" | ||
run: yarn test | ||
commit-msg: | ||
parallel: true | ||
commands: | ||
commitlint: | ||
run: yarn commitlint --edit |
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 |
---|---|---|
|
@@ -30,15 +30,17 @@ | |
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.12.3", | ||
"@commitlint/cli": "^19.3.0", | ||
"@commitlint/config-conventional": "^19.2.2", | ||
"@release-it/conventional-changelog": "^2.0.0", | ||
"@types/jest": "^26.0.15", | ||
"@types/jest-diff": "^24.3.0", | ||
"@types/mkdirp": "^1.0.1", | ||
"conventional-changelog-cli": "^2.1.0", | ||
"eslint": "^7.12.1", | ||
"eslint-config-satya164": "^3.1.8", | ||
"husky": "^4.3.0", | ||
"jest": "^26.6.1", | ||
"lefthook": "^1.7.0", | ||
"prettier": "^2.1.2", | ||
"release-it": "^14.2.0", | ||
"typescript": "^4.0.5" | ||
|
@@ -58,10 +60,5 @@ | |
"(__fixtures__|__file_snapshots__)" | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "yarn lint && yarn typecheck && yarn test" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.