Chris Kay | 98b26e3 | 2020-12-09 16:52:03 +0000 | [diff] [blame] | 1 | /* eslint-env node */ |
| 2 | |
| 3 | "use strict"; |
| 4 | |
| 5 | const config = require("./.cz.json"); |
| 6 | |
| 7 | module.exports = { |
| 8 | extends: ["@commitlint/config-conventional"], |
| 9 | rules: { |
| 10 | "header-max-length": [1, "always", config.maxHeaderWidth], /* Warning */ |
| 11 | "body-max-line-length": [1, "always", config.maxLineWidth], /* Warning */ |
Chris Kay | 1080507 | 2021-04-27 16:09:20 +0100 | [diff] [blame] | 12 | "signed-off-by": [0, "always", "Signed-off-by:"] /* Disabled - buggy */ |
Chris Kay | 98b26e3 | 2020-12-09 16:52:03 +0000 | [diff] [blame] | 13 | } |
| 14 | }; |