Skip to content

Commit

Permalink
Add remove_unused_variable Darklua rule
Browse files Browse the repository at this point in the history
  • Loading branch information
regginator committed Mar 25, 2024
1 parent 4fa9302 commit 530622f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .darklua.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"remove_nil_declaration",
"remove_method_definition",
"remove_spaces",
"remove_unused_variable",
"remove_unused_if_branch",
"remove_unused_while",
{
Expand Down
1 change: 1 addition & 0 deletions lune/lib/data/DefaultDarkluaConfig.luau
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ local Config = {
"remove_nil_declaration",
"remove_method_definition",
"remove_spaces",
"remove_unused_variable",
"remove_unused_if_branch",
"remove_unused_while",

Expand Down

0 comments on commit 530622f

Please sign in to comment.