-
Notifications
You must be signed in to change notification settings - Fork 2
/
commitlint.config.js
24 lines (24 loc) · 992 Bytes
/
commitlint.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'build', // changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
'chore', // updating tacks etc; no production code change
// 'ci',
'docs', // change to the documentation only
'feat', // new feature to the user
'fix', // bug fix for the user
// 'perf', // a code change that improves performance
'refactor', // refactoring code, eg. renaming a variable (a change that neighter fixes or adds a feature)
'revert', // revert a previous commit
'style', // style propre au code (formatage du code, indentation, virgule et point-virgule de fin, espaces, ...)
// 'test',
'wordpress', // tout ce qui touche à wordpress (installation/maj de plugin, de wordpress, ...)
'wp', // alias de wordpress
],
],
},
}