CodeRabbit home page
Search...
⌘K
Signup
Signup
Search...
Navigation
Supported tools
Luacheck
Documentation
Blog
Changelog
Discord
Get started
Introduction
Quickstart
Add CodeRabbit to your repository
Overview
Supported Git platforms
Add organizations
Set permissions
Review pull requests
Overview
Control and manage code reviews
Generate improvements
Code review troubleshooting
CodeRabbit Chat
Analyze & improve your code
Create and resolve issues
Integrate issue tracking
Issue Chat
Create issues
Linked Issues
IDE extensions
Review local changes
Install the VSCode extension
Use the VSCode extension
Use with self-hosted CodeRabbit
Configure the VSCode extension
Uninstall the VSCode extension
Configure
Overview
Organization preferences
Repository preferences
Add a configuration file
Initial configuration guide
Knowledge base
Integrate MCP servers
Review instructions
Linters & security analysis tools
Manage your account
Manage your subscription
Role based access
Generate reports
Overview
Schedule reports
Generate reports on demand
Customize reports
Best practices
Setup best practices
Code review best practices
Reference
CodeRabbit API
Code review commands
Configuration reference
Configuration file template
Supported tools
List of supported tools
actionlint
Biome
Brakeman
Buf
Checkmake
Checkov
CircleCI
Clippy
Cppcheck
detekt
Dotenv Linter
ESLint
Flake8
Gitleaks
golangci-lint
Hadolint
HTMLHint
LanguageTool
Luacheck
markdownlint
OSV-Scanner
Oxlint
PHPCS
PHPMD
PHPStan
Pipeline Failure Remediation
PMD
Prisma Lint
Pylint
Regal
RuboCop
Ruff
Semgrep
ShellCheck
Shopify CLI
SQLFluff
SwiftLint
Caching
Resources
Get support
Self-host CodeRabbit
Why CodeRabbit?
FAQs
Early Access Program
Future development
On this page
Supported Files
Configuration
Features
Links
Supported tools
Luacheck
CodeRabbit’s guide to Luacheck.
Luacheck
is a static analyzer and linter for Lua code that detects various issues such as undefined global variables, unused variables and values, accessing uninitialized variables, unreachable code, and more.
Supported Files
Luacheck will run on files with the following extensions:
.lua
Configuration
Luacheck supports the following configuration files:
.luacheckrc
luacheckrc
.luacheckrc.lua
luacheckrc.lua
Luacheck does not require configuration to run. If no configuration file is found, it will use default settings.
Features
Luacheck can detect:
Usage of undefined global variables
Unused variables and values
Accessing uninitialized variables
Unreachable code
And many more issues
Links
Luacheck GitHub Repository
Luacheck Documentation
LanguageTool
markdownlint
Assistant
Responses are generated using AI and may contain mistakes.