We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
unnecessary-assert
1 parent f61824f commit 09900e7Copy full SHA for 09900e7
changelog.md
@@ -2,7 +2,6 @@
2
3
## Unreleased
4
<!-- Add all new changes here. They will be moved under a version at release -->
5
-* `NEW` `unnecessary-assert` diagnostic warns when asserting values that are always truthy
6
* `NEW` locale `es-419`, thanks [Felipe Lema](https://codeberg.org/FelipeLema)
7
* `FIX` prevent unnecessary edits by LSP formatting when content did not change
8
* `FIX` return no completions if completion is disabled
script/proto/diagnostic.lua
@@ -78,7 +78,7 @@ m.register {
78
'cast-type-mismatch',
79
'return-type-mismatch',
80
'inject-field',
81
- 'unnecessary-assert',
+ --'unnecessary-assert',
82
} {
83
group = 'type-check',
84
severity = 'Warning',
0 commit comments