summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-05-21 16:48:47 +0200
committerGitHub <[email protected]>2022-05-21 16:48:47 +0200
commit23df368b00bda0ed4a01fac92f7ad80998c1d34a (patch)
tree2362ff18ac68eab313380e814238fa15c1237934 /.github
parenta2454310b6c0b5b530521a77b9b8eb290274e040 (diff)
refactor: load the default options once (#2592)
BREAKING CHANGE: modifying the default options for keymaps and autocmds is now done by overwriting them, since they won't be loaded into the global `lvim` table anymore * refactor: use the lua-commands api * refactor!: use the lua-autocmds api * fix(settings): let neovim handle spellfile * feat: add log:set_log_level() * chore: update examples * chore: add deprecation notice for custom_groups
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/commitlint.config.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/commitlint.config.js b/.github/workflows/commitlint.config.js
index 06cc7866..53ec4b76 100644
--- a/.github/workflows/commitlint.config.js
+++ b/.github/workflows/commitlint.config.js
@@ -32,4 +32,15 @@ module.exports = {
],
],
},
+ /*
+ add a custom parser to handle exclamation marks in a commit
+ see: https://github.com/conventional-changelog/commitlint/issues/2226#issuecomment-911749509
+ */
+ parserPreset: {
+ parserOpts: {
+ headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/,
+ referenceActions: null,
+ issuePrefixes: ['ISS-'],
+ },
+ },
};