You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+2
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
## Unreleased
4
4
5
+
* add rule to remove unused variables (`remove_unused_variable`). Fix issue with `rename_variables` where `self` variables and some cases of variable shadowing were not correctly renamed ([#172](https://github.com/seaofvoices/darklua/pull/172))
6
+
5
7
## 0.12.1
6
8
7
9
* fix `append_text_comment` rule to support multiline comments ([#167](https://github.com/seaofvoices/darklua/pull/167))
Copy file name to clipboardexpand all lines: site/content/rules/remove_assertions.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ parameters:
5
5
- name: preserve_arguments_side_effects
6
6
type: boolean
7
7
description: Defines how darklua handle arguments passed to the function. If true, darklua will inspect each argument and preserve any potential side effects. When false, darklua will not perform any verification and simply erase any arguments passed.
8
-
default: true
8
+
default: "true"
9
9
examples:
10
10
- content: assert(condition, 'condition is incorrect!')
Copy file name to clipboardexpand all lines: site/content/rules/remove_debug_profiling.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ parameters:
5
5
- name: preserve_arguments_side_effects
6
6
type: boolean
7
7
description: Defines how darklua handle arguments passed to the functions. If true, darklua will inspect each argument and preserve any potential side effects. When false, darklua will not perform any verification and simply erase any arguments passed.
0 commit comments