* stylua -> EmmyLuaCodeStyle: config and doc * stylua -> EmmyLuaCodeStyle: CI * stylua -> EmmyLuaCodeStyle: CI * stylua -> EmmyLuaCodeStyle: CI * stylua -> EmmyLuaCodeStyle: CI * stylua -> EmmyLuaCodeStyle: CI * stylua -> EmmyLuaCodeStyle * stylua -> EmmyLuaCodeStyle: call_arg_parentheses = always * stylua -> EmmyLuaCodeStyle * stylua -> EmmyLuaCodeStyle
This commit is contained in:
committed by
GitHub
parent
9650e735ba
commit
1ae1c33ce1
11
Makefile
11
Makefile
@@ -5,7 +5,7 @@ all: lint style check
|
||||
#
|
||||
lint: luacheck
|
||||
|
||||
style: stylua style-doc
|
||||
style: style-check style-doc
|
||||
|
||||
check: luals
|
||||
|
||||
@@ -15,8 +15,9 @@ check: luals
|
||||
luacheck:
|
||||
luacheck -q lua
|
||||
|
||||
stylua:
|
||||
stylua lua --check
|
||||
# --diagnosis-as-error does not function for workspace, hence we post-process the output
|
||||
style-check:
|
||||
CodeFormat check --config .editorconfig --diagnosis-as-error --workspace lua
|
||||
|
||||
style-doc:
|
||||
scripts/doc-comments.sh
|
||||
@@ -28,7 +29,7 @@ luals:
|
||||
# fixes
|
||||
#
|
||||
style-fix:
|
||||
stylua lua
|
||||
CodeFormat format --config .editorconfig --workspace lua
|
||||
|
||||
#
|
||||
# utility
|
||||
@@ -43,5 +44,5 @@ help-check: help-update
|
||||
git diff --exit-code doc/nvim-tree-lua.txt
|
||||
|
||||
|
||||
.PHONY: all lint style check luacheck stylua style-doc luals style-fix help-update help-check
|
||||
.PHONY: all lint style check luacheck style-check style-doc luals style-fix help-update help-check
|
||||
|
||||
|
||||
Reference in New Issue
Block a user