chore(dev): added Makefile and fixed lint workflow

This commit is contained in:
Pranav Rao 2022-05-06 12:38:30 -04:00
parent 28762aa04d
commit e7865eaaa2
2 changed files with 10 additions and 1 deletions

View File

@ -15,4 +15,4 @@ jobs:
sudo luarocks install luacheck sudo luarocks install luacheck
- name: Lint - name: Lint
run: luacheck lua/harpoon run: luacheck lua/ --globals vim

9
Makefile Normal file
View File

@ -0,0 +1,9 @@
fmt:
echo "===> Formatting"
stylua lua/ --config-path=.stylua.toml
lint:
echo "===> Linting"
luacheck lua/ --globals vim
pr-ready: fmt lint