chore: add commit linter

This commit is contained in:
Alexandre Nunes 2020-09-26 16:42:14 -03:00
parent 43c54bfda7
commit 846e914fd0
2 changed files with 33 additions and 0 deletions

32
package-lock.json generated

@ -1499,6 +1499,16 @@
"integrity": "sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=",
"dev": true
},
"did-you-mean": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/did-you-mean/-/did-you-mean-0.0.1.tgz",
"integrity": "sha1-iFHOgkB5A8tiwSy2rU9naSHM3sM=",
"dev": true,
"requires": {
"levenshtein": "*",
"underscore": "*"
}
},
"diff-sequences": {
"version": "24.9.0",
"resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz",
@ -2448,6 +2458,16 @@
"assert-plus": "^1.0.0"
}
},
"git-commit-msg-linter": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/git-commit-msg-linter/-/git-commit-msg-linter-2.7.0.tgz",
"integrity": "sha512-gpkcxIHzPWEkv15ni1NnstL0+BgwnNUyoKIzifSojqrnoflcsVCwd0eUw/d3Yq97LpejqmMxlhPG3IBlPoVfKQ==",
"dev": true,
"requires": {
"chalk": "^2.4.2",
"did-you-mean": "^0.0.1"
}
},
"glob": {
"version": "7.1.6",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
@ -3559,6 +3579,12 @@
"integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==",
"dev": true
},
"levenshtein": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/levenshtein/-/levenshtein-1.0.5.tgz",
"integrity": "sha1-ORFzepy1baNF0Aj1V4LG8TiXm6M=",
"dev": true
},
"levn": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
@ -5294,6 +5320,12 @@
"integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==",
"dev": true
},
"underscore": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.11.0.tgz",
"integrity": "sha512-xY96SsN3NA461qIRKZ/+qox37YXPtSBswMGfiNptr+wrt6ds4HaMw23TP612fEyGekRE6LNRiLYr/aqbHXNedw==",
"dev": true
},
"union-value": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",

@ -44,6 +44,7 @@
"eslint": "^7.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"git-commit-msg-linter": "^2.7.0",
"jest": "24.9.0",
"prettier": "^2.1.1",
"ts-jest": "^26.3.0",