Skip to content

Instantly share code, notes, and snippets.

Avatar

Gabriel Costa Gabrielncosta

View GitHub Profile
View commitlint.config.js
module.exports = {
parserPreset: 'conventional-changelog-conventionalcommits',
rules: {
'body-leading-blank': [1, 'always'],
'body-max-line-length': [2, 'always', 100],
'footer-leading-blank': [1, 'always'],
'footer-max-line-length': [2, 'always', 100],
'header-max-length': [2, 'always', 100],
'scope-case': [2, 'always', 'lower-case'],
'subject-case': [
View commitlint.config.js
module.exports = {
parserPreset: 'conventional-changelog-conventionalcommits',
rules: {
'body-leading-blank': [1, 'always'],
'body-max-line-length': [2, 'always', 100],
'footer-leading-blank': [1, 'always'],
'footer-max-line-length': [2, 'always', 100],
'header-max-length': [2, 'always', 100],
'scope-case': [2, 'always', 'lower-case'],
'subject-case': [
View commitlint.config.js
module.exports = {
parserPreset: 'conventional-changelog-conventionalcommits',
rules: {
'body-leading-blank': [1, 'always'],
'body-max-line-length': [2, 'always', 100],
'footer-leading-blank': [1, 'always'],
'footer-max-line-length': [2, 'always', 100],
'header-max-length': [2, 'always', 100],
'scope-case': [2, 'always', 'lower-case'],
'subject-case': [
View package.json
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
View index.html
<head>
<title id="title">John von Neumann</title>
</head>
<body id="main">
<div id="img-div">
<a href="#"><img id="image" src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/John_von_Neumann_ID_badge.png/250px-John_von_Neumann_ID_badge.png" alt="John Von Neumann" </a>
<p id="img-caption"> John von Neumann in his 90s </p>
</div>
You can’t perform that action at this time.