fix: do not run luacheck over files in ./target directory (#2752)
This commit is contained in:
2
Makefile
2
Makefile
@@ -71,7 +71,7 @@ clean:
|
|||||||
@rm -rf $(BUILD_DIR)
|
@rm -rf $(BUILD_DIR)
|
||||||
|
|
||||||
luacheck:
|
luacheck:
|
||||||
@luacheck `find -name "*.lua"` --codes
|
@luacheck `find \( -path './target' -prune \) -o -name "*.lua" -print` --codes
|
||||||
|
|
||||||
luastylecheck:
|
luastylecheck:
|
||||||
@stylua --check lua/ plugin/ tests/
|
@stylua --check lua/ plugin/ tests/
|
||||||
|
|||||||
Reference in New Issue
Block a user