Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb0fdbf0

Browse files
Feat/luacheck (coderabbitai#349)
* adding luacheck* update changelog* enhanced* add sidebar
1 parent7ca9e0b commitb0fdbf0

File tree

4 files changed

+58
-0
lines changed

4 files changed

+58
-0
lines changed

‎docs/changelog.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ description: The latest updates and changes to CodeRabbit.
55
sidebar_position:13
66
---
77

8+
##May 19, 2025
9+
10+
###Lua Support with Luacheck
11+
12+
We're excited to announce enhanced support for Lua code analysis with[Luacheck](https://github.com/mpeterv/luacheck), a powerful static analyzer and linter for Lua code.
13+
814
##April 19, 2025
915

1016
###Docstring Path Instructions

‎docs/tools/list.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ For an overview of how CodeRabbit uses these tools when generating code reviews,
2727
| JSX|[Biome][Biome],[oxlint][oxlint]| Code Quality|
2828
| Kotlin|[detekt][detekt]| Code Quality|
2929
| Kubernetes|[Checkov][Checkov]| Code Security|
30+
| Lua|[Luacheck][Luacheck]| Code Quality|
3031
| Markdown|[markdownlint][markdownlint],[LanguageTool][LanguageTool]| Code Quality, Grammar Checking|
3132
| PHP|[PHPStan][PHPStan]| Code Quality|
3233
| Plaintext|[LanguageTool][LanguageTool]| Grammar and Spell Checking|
@@ -72,3 +73,4 @@ For an overview of how CodeRabbit uses these tools when generating code reviews,
7273
[PrismaLint]:/tools/prisma-lint.md
7374
[oxlint]:/tools/oxlint.md
7475
[ShopifyCLI]:/tools/shopify-cli.md
76+
[Luacheck]:/tools/luacheck.md

‎docs/tools/luacheck.md‎

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title:Luacheck
3+
sidebar_label:Luacheck
4+
description:CodeRabbit's guide to Luacheck.
5+
---
6+
7+
```mdx-code-block
8+
import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx';
9+
10+
<ProPlanNotice />
11+
```
12+
13+
[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.
14+
15+
##Supported Files
16+
17+
Luacheck will run on files with the following extensions:
18+
19+
-`.lua`
20+
21+
##Configuration
22+
23+
Luacheck supports the following configuration files:
24+
25+
-`.luacheckrc`
26+
-`luacheckrc`
27+
-`.luacheckrc.lua`
28+
-`luacheckrc.lua`
29+
30+
:::note
31+
32+
Luacheck does not require configuration to run. If no configuration file is found, it will use default settings.
33+
34+
:::
35+
36+
##Features
37+
38+
Luacheck can detect:
39+
40+
- Usage of undefined global variables
41+
- Unused variables and values
42+
- Accessing uninitialized variables
43+
- Unreachable code
44+
- And many more issues
45+
46+
##Links
47+
48+
-[Luacheck GitHub Repository](https://github.com/mpeterv/luacheck)
49+
-[Luacheck Documentation](https://luacheck.readthedocs.io/)

‎sidebars.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ const sidebars: SidebarsConfig = {
158158
"tools/golangci-lint",
159159
"tools/hadolint",
160160
"tools/languagetool",
161+
"tools/luacheck",
161162
"tools/markdownlint",
162163
"tools/oxlint",
163164
"tools/phpstan",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp