forked from analogdevicesinc/msdk
-
Notifications
You must be signed in to change notification settings - Fork 2
/
commitlint.config.js
21 lines (19 loc) · 930 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
module.exports = {
/**
* Resolve and load @commitlint/config-conventional from node_modules.
* Referenced packages must be installed
*/
extends: [
"@commitlint/config-conventional"
],
/**
* Any rules defined here will override rules from @commitlint/config-conventional
*/
rules: {
"scope-enum": [2, "always", ["Documentation", "Build", "Examples", "Tools", "BLE", "Boards", "CMSIS", "MiscDrivers", "PeriphDrivers", "ThirdParty", "SDHC", "MAXUSB", "ignore", "workflow", "Other"]],
"scope-empty": [2, "never"],
"type-enum": [2, "always", ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "test"]],
"subject-case": [2, "always", ["sentence-case", "start-case", "pascal-case", "upper-case"]],
"body-case": [2, "always", ["sentence-case", "start-case", "pascal-case", "upper-case"]],
}
};