style-check finds most but not all formatting problems that style-fix does.
There are outstanding style issues that result in style-fix reformatting files outside of the scope of the change e.g. #3261
Replication at 516f95e
OK
files changed
git diff --name-only
lua/nvim-tree/_meta/api/decorator.lua
lua/nvim-tree/_meta/api/decorator_example.lua
lua/nvim-tree/_meta/config/renderer.lua
Options:
- Try to fix the issue with
style-check luals call. May be difficult as style-fix uses a different tool CodeFormat
- Add a test similar to
help-check that runs style-fix and fails on diffs
style-checkfinds most but not all formatting problems thatstyle-fixdoes.There are outstanding style issues that result in
style-fixreformatting files outside of the scope of the change e.g. #3261Replication at 516f95e
OK
files changed
Options:
style-checkluals call. May be difficult asstyle-fixuses a different toolCodeFormathelp-checkthat runsstyle-fixand fails on diffs