lux-cli-lint(1)
okay so bestie, welcome to lux-cli-lint(1) from the General Commands Manual β it's literally the page for linting your project with luacheck, and it's giving very useful terminal main character energy π
β¨
πΈ NAME
lux-cli-lint β Lint the current project using luacheck π
β¨ SYNOPSIS β¨
Here's the whole spell, bestie:
lux-cli lint [--path] [--no-ignore] [--server] [--extra-servers]
[--namespace] [--lua-dir] [--lua-version] [--tree] [--cache-dir]
[--data-dir] [--variables] [--profile] [--verbose] [--no-progress]
[--no-prompt] [--preset] [--nvim] [--no-tfa] [--timeout] [--max-jobs]
[--no-luarc] [--no-wrap-bin] [--user-agent] [-h|--help] [ARGS]
π DESCRIPTION π
Lint the current project using luacheck. That's the whole assignment, and it ate. π«Ά
π OPTIONS π
--path <PATH>β Path to a workspace, directory, or Lua file to lint. Defaults to the current workspace π¦--no-ignoreβ By default, Lux will add top-level ignored files and directories (like those in.gitignore) to luacheck's exclude files. This flag disables that behaviour. π«--server <server>β Fetch rocks/rockspecs from this server (takes priority over config file) π--extra-servers <extra-server>β Fetch rocks/rockspecs from these servers in addition to the main server (overrides any entries in the config file) β¨--namespace <namespace>β Specify the luarocks server namespace to use π--lua-dir <prefix>β Specify the directory in which to install Lua if not found π--lua-version <ver>β Which Lua installation to use. Valid versions are:'5.1','5.2','5.3','5.4','5.5','jit'and'jit52'. If not set, Lux will attempt to detect the Lua version:- From the current project, if it has an exact Lua version requirement.
- From the Lua installation that is available on the
PATHπΈ
--tree <tree>β Which tree to operate on. In a workspace, this can be used to specify a detached workspace tree π³--cache-dir <cache-dir>β Specifies the cache directory, e.g. for luarocks manifests ποΈ--data-dir <data-dir>β Specifies the data directory, in which the default user install tree resides (e.g.~/.local/share/lux) π--variables <variable>β Override config variables. Example:lx -v "LUA=/path/to/lua" ...π§--profile <profile>β The build profile to use when compiling packages. Default:releaseποΈ- Possible values:
releasedev
- Possible values:
--verboseβ Display verbose output of commands executed, enabling DEBUG logs. To enable TRACE logs, setRUST_LOG=traceπ--no-progressβ Don't print any progress bars or spinners π--no-prompt <NO_PROMPT>β Skip prompts, selecting the default option. Prompting is enabled by default in terminal/TTY environments π€- Possible values:
truefalse
- Possible values:
--preset <preset>β Configure Lux for a specific environment. Valid presets are:'nvim'π§- Possible values:
nvim: Configure Lux for Neovim plugins
- Possible values:
--nvimβ [DEPRECATED] Configure lux for installing Neovim packages. Use--preset nviminstead β οΈ--no-tfaβ Disable prompts for two-factor authentication (2FA) codes. It is strongly recommended to enable 2FA instead see (https://luarocks.org/settings/two-factor-auth) π--timeout <seconds>β Timeout on network operations, in seconds.0means no timeout (wait forever). Default is30β±οΈ--max-jobs <MAX_JOBS>β Maximum buffer size for parallel jobs, such as downloading rockspecs and installing rocks.0means no limit. Default is0π§΅--no-luarcβ Do not generate or update a.luarc.jsonfile when building a project π--no-wrap-binβ Do not wrap Luabinscripts π--user-agent <USER_AGENT>β The user agent to set when making web requests. Default is"lux/<version>"π΅οΈ-h,--helpβ Print help (see a summary with-h) π[ARGS]β Arguments to pass to the luacheck command. If you pass arguments to luacheck, Lux will not pass any default arguments π«Ά
Footer sign-off, because we respect the bottom line: lint and lux-cli-lint(1) are down there doing their little source/version + manual-name dance, and there's no extra date printed on that line β so I'm not inventing one, bestie π Stay linted, stay iconic, periodt. πβ¨π
π¦ where this page comes from
- nixpkgs unstable: lux-cli 0.48.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms