-
-
Notifications
You must be signed in to change notification settings - Fork 626
chore: use builtin EmmyLuaCodeStyle for style checking #3084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
9a6a195
to
3a27e36
Compare
This reverts commit e5fde80.
@@ -1,12 +1,23 @@ | |||
{ | |||
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json", | |||
"runtime.version.luals-check-only": "Lua 5.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uses a better jq solution in script.
local stat = vim.loop.fs_lstat(abs) | ||
-- path incorrectly specified as an integer | ||
local stat = vim.loop.fs_lstat(abs) ---@diagnostic disable-line param-type-mismatch | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
result of lua-language-server upgrade
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
update versions:
Small ci.yml tweaks.
Use the embedded EmmyLuaCodeStyle
CodeFormat
when checking style. This makes it easier for those who don't have it installed, as well as simlifying CI.CodeFormat
binary is still required for fixing style; doc updated.Contentious change: style job collapsed into check, as they have all prerequisites in common.
TODO: update required checks following merge