From e7865eaaa244a60d3ee745365f5a18bc673aa708 Mon Sep 17 00:00:00 2001 From: Pranav Rao <56097527+pranavrao145@users.noreply.github.com> Date: Fri, 6 May 2022 12:38:30 -0400 Subject: [PATCH] chore(dev): added Makefile and fixed lint workflow --- .github/workflows/lint.yml | 2 +- Makefile | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 Makefile 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