mirror of
https://github.com/luau-lang/luau.git
synced 2025-03-03 18:51:42 +00:00
Add CollapseClauseToAssert lint string
Add `CollapseClauseToAssert` as a member of the `kWarningNames` list to go along with the new linting itself.
This commit is contained in:
parent
fba48ae3e4
commit
83b2f7b29f
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,7 @@ struct LintWarning
|
|||
Code_IntegerParsing = 27,
|
||||
Code_ComparisonPrecedence = 28,
|
||||
Code_RedundantNativeAttribute = 29,
|
||||
Code_CollapseClauseToAssert = 30,
|
||||
|
||||
Code__Count
|
||||
};
|
||||
|
@ -117,6 +118,7 @@ static const char* kWarningNames[] = {
|
|||
"IntegerParsing",
|
||||
"ComparisonPrecedence",
|
||||
"RedundantNativeAttribute",
|
||||
"CollapseClauseToAssert"
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue