rspec/rules/S1116/description.adoc
Yassin Kammoun af51542e42
Modify S1116: Migrate to LayC (#3320)
## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: Angelo Buono <angelo.buono@sonarsource.com>
2023-10-18 13:53:57 +02:00

3 lines
291 B
Plaintext

Empty statements represented by a semicolon `;` are statements that do not perform any operation. They are often the result of a typo or a misunderstanding of the language syntax.
It is a good practice to remove empty statements since they don't add value and lead to confusion and errors.