diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e2c25fd..46759d5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,4 +15,4 @@ jobs: sudo luarocks install luacheck - name: Lint - run: luacheck lua/harpoon + run: luacheck lua/ --globals vim diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5da43dc --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +fmt: + echo "===> Formatting" + stylua lua/ --config-path=.stylua.toml + +lint: + echo "===> Linting" + luacheck lua/ --globals vim + +pr-ready: fmt lint