Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 861 Bytes

lint.md

File metadata and controls

41 lines (29 loc) · 861 Bytes

lint

Overview

Command lint has been designed to run code linting tools. It acts as a wrapper to the original Luacheck CLI tool and can run it through Docker when not locally available on the system.

Usage

$ mod lint -h
usage: mod lint [<flags>]

Code linting tools: Luacheck.

Flags:
  -h, --help              Show context-sensitive help (also try --help-long and --help-man).
  -c, --config=".modcli"  Path to configuration file.
  -v, --version           Show application version.
  -d, --docker            Run through Docker.
  -l, --luacheck          Run Luacheck.
  -o, --original          Show original output instead.

Examples

Default

$ mod lint
[LUACHECK]

No issues found