neovim/scripts
Justin M. Keyes 6565adcbff
build(lint): commit linter #15725
Example test failure:

    $ nvim -es +"lua require('scripts.lintcommit')._test()"
    [ FAIL ]: expected=true, got=false
        input: ":no type before colon 1"
    [ FAIL ]: expected=true, got=false
        input: "ci: tab after colon"

Example main({trace=true}) output:

    $ nvim -es +"lua require('scripts.lintcommit').main()"
    run: { "git", "branch", "--show-current" }
    run: { "git", "merge-base", "origin/master", "master" }
    run: { "git", "merge-base", "upstream/master", "master" }
    run: { "git", "rev-list", "89db07556dbdce97c0c150ed7e47d80e1ddacad3..master" }
    run: { "git", "show", "-s", "--format=%s", "d2e6d2f5fc93b6da3c6153229135ba2f0b24f8cc" }
    Invalid commit message: "buildlint): commit linter #15620"
        Commit: d2e6d2f5fc93b6da3c6153229135ba2f0b24f8cc
        Invalid commit type "buildlint)". Allowed types are:
        { "build", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "test", "chore", "vim-patch" }
        See also:
            https://github.com/neovim/neovim/blob/master/CONTRIBUTING.md#commit-messages
            https://www.conventionalcommits.org/en/v1.0.0/
2021-09-19 12:57:57 -07:00
..
check_urls.vim vim-patch: move test_urls.vim out of runtime/ 2018-11-12 12:36:40 -05:00
check-includes.py py: flake8 fixes 2019-07-29 22:14:23 +02:00
download-unicode-files.sh Download emoji-data from UNIDATA/ 2020-10-04 11:50:29 -04:00
finddeclarations.pl Remove remaining declarations with new script: finddeclarations.pl 2014-06-02 11:04:18 -03:00
gen_help_html.py py: flake8 fixes 2019-07-29 22:14:23 +02:00
gen_vimdoc.py Merge #15585 refactor: move vim.lsp.diagnostic to vim.diagnostic 2021-09-16 14:23:42 -07:00
genappimage.sh genappimage.sh: migrate to linuxdeploy #10027 2019-05-18 20:38:19 +02:00
genvimvim.lua Open funcs_data.mpack in binary mode. (#14944) 2021-06-30 18:17:48 -04:00
git-log-pretty-since.sh release.sh: Format issue-numbers in descriptions [ci skip] 2019-01-04 06:03:47 +01:00
legacy2luatest.pl legacy2luatest: Use before_each instead of setup. 2016-02-01 09:09:08 +01:00
lintcommit.lua build(lint): commit linter #15725 2021-09-19 12:57:57 -07:00
lua2dox_filter more generic shebang for lua2dox_filter 2021-03-04 15:44:40 +01:00
lua2dox.lua docs: Treesitter (#13260) 2021-05-01 08:19:48 -04:00
movedocs.pl Move documentation from function declarations to definitions 2014-06-02 11:04:04 -03:00
pvscheck.sh chore: PVS/V1042 - ignore warning globally. 2021-07-17 17:27:17 +02:00
release.sh build: update appdata.xml version in release commit 2021-08-13 23:32:10 -04:00
shadacat.py Merge #11319 'inccommand: fix issues with modifiers and prompting' 2019-11-05 17:34:21 -08:00
squash_typos.py ci: ensure all PRs are up to date with master before attempting squash 2021-08-15 12:38:05 +02:00
stripdecls.py scripts: autopep8 2019-07-29 22:14:23 +02:00
update_terminfo.sh update_terminfo.sh: NOLINT data arrays 2018-12-28 23:52:03 +01:00
update_version_stamp.lua Use vX.Y.Z-dev+{git-describe} for development versions 2020-12-06 21:01:11 -05:00
vim-patch.sh chore(vim-patch): add doc/vim9.txt to unwanted files 2021-09-10 13:20:11 +02:00
vimpatch.lua vimpatch.lua: automate version.c 2017-12-27 12:30:55 +01:00
windows.ti win/TUI: fix text overrides line numbers #9474 2019-01-09 10:40:02 +01:00