luacheck
stable
  • List of warnings
  • Command line interface
  • Configuration file
  • Inline options
  • Luacheck module
luacheck
  • Docs »
  • Luacheck documentation
  • Edit on GitHub

Luacheck documentation¶

Contents:

  • List of warnings
    • Global variables (1xx)
      • Read-only globals
      • Implicitly defined globals
      • Modules
    • Unused variables (2xx) and values (3xx)
      • “Unused hint” (214)
      • Unused values and uninitialized variables
      • Secondary values and variables
    • Shadowing declarations (4xx)
    • Control flow and data flow issues (5xx)
      • Unreachable code
      • Unused labels
      • Unbalanced assignments
      • Empty blocks
      • Empty statements
      • Cyclomatic complexity
      • Reversed numeric for loops
      • Error-prone and Unnecessary Negations
    • Formatting issues (6xx)
      • Whitespace issues
      • Line length limits
  • Command line interface
    • Command line options
    • Patterns
    • Defining extra globals and fields
    • Sets of standard globals
    • Formatters
    • Caching
    • Stable interface for editor plugins and tools
  • Configuration file
    • Config options
    • Custom sets of globals
    • Per-file and per-path overrides
    • Default per-path std overrides
  • Inline options
  • Luacheck module
    • Report format

This is documentation for 0.26.0 version of Luacheck, a linter for Lua.

Next

© Copyright 2014 - 2018, Peter Melnichenko Revision 5784e3f9.

Built with Sphinx using a theme provided by Read the Docs.