style: eslint + husky + commitlint

This commit is contained in:
psychobunny
2021-02-25 19:01:01 -05:00
parent 507f4ae25e
commit da1b2caaaf
3 changed files with 166 additions and 1 deletions
+26
View File
@@ -0,0 +1,26 @@
'use strict';
module.exports = {
extends: ['@commitlint/config-angular'],
rules: {
'header-max-length': [1, 'always', 72],
'type-enum': [
2,
'always',
[
'breaking',
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test',
],
],
},
};