ci(lua): add Luacheck for Neovim Lua sources#51
Closed
Conversation
…nt-formats (plural) for yamllint\n- neoterm: correct key name to position\n- load.sh: rename duplicate log_fail to log_warn\n\nFixes #19
…tus-interval: 1s -> 5s to reduce CPU wakeups\n- add '|| echo -' fallbacks to #() commands\n\nFixes #22
…ate packages\n\n- Linux: avoid linuxbrew-wrapper; prefer apt and base build tools\n- macOS: use official Homebrew install script\n- Packages: add ripgrep; remove deprecated options; mac-only tools guarded\n\nFixes #17
…列不整合を確認 (CIで検知可能に)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #41
概要
init.luaのプラグイン配列について、構文上の不整合(余計な},)が疑われていましたが、現状のファイルは配列が正しく閉じられており、構文上の不整合は再現しませんでした。変更点
.github/workflows/luacheck.yml: Ubuntu ランナーでluacheckをインストールし、.config/nvim/**/*.luaに対してチェックを実行。.luacheckrc:std = lua54、Neovim のvimグローバルを許可。行長の警告(631)を無視。unused は CI 実行時に--no-unusedで無効化。検証方法
luacheck --no-color --config .luacheckrc --no-unused .config/nvim/**/*.luaを実行してもエラーが出ないこと。備考