* chore: sync EmmyLuaCodeStyle settings between .editorconfig and .luarc.json
* chore: lua-language-server 3.11.0 -> 3.13.9
* chore: fix incorrect definition of vim.loop.fs_lstat
* chore: add codestyle-check option to luals-check.sh
* chore: use luals for style check
* chore: use luals for style check
* Revert "chore: use luals for style check"
This reverts commit e5fde80fab.
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
49 lines
719 B
Makefile
49 lines
719 B
Makefile
all: lint style check
|
|
|
|
#
|
|
# mandatory checks
|
|
#
|
|
lint: luacheck
|
|
|
|
style: style-check style-doc
|
|
|
|
check: luals
|
|
|
|
#
|
|
# subtasks
|
|
#
|
|
luacheck:
|
|
luacheck --codes --quiet lua --exclude-files "**/_meta/**"
|
|
|
|
# --diagnosis-as-error does not function for workspace, hence we post-process the output
|
|
style-check:
|
|
@scripts/luals-check.sh codestyle-check
|
|
|
|
style-doc:
|
|
scripts/doc-comments.sh
|
|
|
|
luals:
|
|
@scripts/luals-check.sh
|
|
|
|
#
|
|
# fixes
|
|
#
|
|
style-fix:
|
|
CodeFormat format --config .editorconfig --workspace lua
|
|
|
|
#
|
|
# utility
|
|
#
|
|
help-update:
|
|
scripts/help-update.sh
|
|
|
|
#
|
|
# CI
|
|
#
|
|
help-check: help-update
|
|
git diff --exit-code doc/nvim-tree-lua.txt
|
|
|
|
|
|
.PHONY: all lint style check luacheck style-check style-doc luals style-fix help-update help-check
|
|
|