This repository was archived by the owner on Aug 16, 2025. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork69
Feat/luacheck#349
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Feat/luacheck#349
Changes fromall commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
6 changes: 6 additions & 0 deletionsdocs/changelog.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletionsdocs/tools/list.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletionsdocs/tools/luacheck.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| --- | ||
| title: Luacheck | ||
| sidebar_label: Luacheck | ||
| description: CodeRabbit's guide to Luacheck. | ||
| --- | ||
| ```mdx-code-block | ||
| import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx'; | ||
| <ProPlanNotice /> | ||
| ``` | ||
| [Luacheck](https://github.com/mpeterv/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` | ||
| :::note | ||
| 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](https://github.com/mpeterv/luacheck) | ||
| - [Luacheck Documentation](https://luacheck.readthedocs.io/) |
1 change: 1 addition & 0 deletionssidebars.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.