Add vint linting

This commit is contained in:
Andy K. Massimino
2021-05-08 23:28:42 -04:00
parent d95effc35a
commit f79c2a0f71
2 changed files with 22 additions and 0 deletions

View File

@@ -18,3 +18,21 @@ jobs:
- name: Run Luacheck
run: sudo ./test/scripts/style-check.sh
vint:
name: Vint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install python
uses: actions/setup-python@v2
- name: Install vint
- run: |
python -m pip install --upgrade pip
pip install vim-vint
- name: Lint with vint
- run: |
vint plugin autoload

4
.vintrc Normal file
View File

@@ -0,0 +1,4 @@
policies:
ProhibitNoAbortFunction:
enabled: false