feat: adding linter for commits
This commit is contained in:
28
package.json
Normal file
28
package.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "time-function",
|
||||
"version": "0.0.1",
|
||||
"description": "convert the timestamp in a format dd/mm/yyyy hh:mm:ss",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [
|
||||
"time",
|
||||
"convert",
|
||||
"timestamp",
|
||||
"gmt",
|
||||
"city"
|
||||
],
|
||||
"author": "Carlos Gutierrez <carlos.gutierrez@tortoise.dev>",
|
||||
"license": "MIT",
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^15.0.0",
|
||||
"@commitlint/config-conventional": "^15.0.0",
|
||||
"husky": "^4.3.8"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user