luacheck VS LuaFormatter

Compare luacheck vs LuaFormatter and see what are their differences.

luacheck

A tool for linting and static analysis of Lua code. (by mpeterv)

LuaFormatter

Code formatter for Lua (by Koihik)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
luacheck LuaFormatter
14 5
1,864 657
- -
0.0 0.0
over 1 year ago 7 months ago
Lua C++
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

luacheck

Posts with mentions or reviews of luacheck. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-10.

LuaFormatter

Posts with mentions or reviews of LuaFormatter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-04.
  • question about plugins
    2 projects | /r/neovim | 4 Oct 2022
    Use and enforce a style with StyLua) or LuaFormatte and neovim can autoformat for ya.
  • StyLua now supports collapsing simple statements
    4 projects | /r/neovim | 7 Jul 2022
    Back in the day when I was making a decision about which formatter to use (I believe, it was between StyLua and LuaFormatter) these observations sealed the deal: - It was already used by many plugins and Neovim itself. - It made handy binary releases which I could download and use right away. - It had easy-to-use github action for Continuous Integration checks.
  • Lua Indentation Woes
    2 projects | /r/vim | 12 Aug 2021
    Have you tried any external programs to format your code instead? That's what I usually do. Just set 'formatprg', and use gq to format the code. With a quick search I found LuaFormatter, and StyLua, but I can't say if they format the code the way you want. In my experience, external code formaters will do a better job, and they have more options to tweak as well.
  • Ver 5 will be out soon, and I have a question.Is there any advantage to using init.lua?
    3 projects | /r/neovim | 22 May 2021
    advantage: - you can write init.lua using LSP - autoformat https://github.com/Koihik/LuaFormatter - Lint https://github.com/mpeterv/luacheck

What are some alternatives?

When comparing luacheck and LuaFormatter you can also consider the following projects:

StyLua - An opinionated Lua code formatter

lua-language-server - A language server that offers Lua language support - programmed in Lua

luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua

NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.

lua-enumerable - A port of ruby's Enumerable module to Lua

NvChad - An attempt to make neovim cli as functional as an IDE while being very beautiful , blazing fast. [Moved to: https://github.com/NvChad/NvChad]

cp.nvim - Competitive programming neovim plugin [Moved to: https://github.com/nullchilly/cpeditor.nvim]

selene - A blazing-fast modern Lua linter written in Rust

cpeditor - The IDE for competitive programming :tada: | Fetch, Code, Compile, Run, Check, Submit :rocket:

telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.

nvim-oxi - :link: Rust bindings to all things Neovim