# Luacheck

Declare the globals Lua code may use

Set the target Lua runtime and allowed globals. Flag accidental global writes, unused variables and unreachable code as part of the normal test workflow.

Category: Code quality
Languages: Lua
Seikika catalog assessment: runnable (4/5 checks passed).

## Adoption

Use Luacheck in this repository to meet this standard: Declare the globals Lua code may use. Set the target Lua runtime and allowed globals. Flag accidental global writes, unused variables and unreachable code as part of the normal test workflow. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

### Tool command

```
luacheck .
```

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://luacheck.readthedocs.io/)
- [Agent skill](/skills/luacheck/SKILL.md)
