New TSQL rule suggestion: Flag statements that do not end with semi-colon #1748
Labels
enhancement
New feature or request
new rule
A new linting rule to add to the library
t-sql
Issues related to the T-SQL/TSQL/Transact SQL dialect
The semi-colon statement terminator is optional but best practice.
This could be fixed automatically.
Anti-pattern:
Pattern:
This could potentially apply to other dialects as well; I am not familiar enough with other dialects to say for sure.
An exception to the above rule would be the BEGIN statement, where we should flag/remove the optional semi-colon if we see it.
The text was updated successfully, but these errors were encountered: