CIDARLAB / 3DuF

Interactive microfluidic design editor
http://3duf.org
BSD 2-Clause "Simplified" License
75 stars 71 forks source link

(JS-0009) Found empty block statements #278

Closed rkrishnasanka closed 3 years ago

rkrishnasanka commented 3 years ago

Description

Empty block statements, while not technically errors, usually occur due to refactoring that wasn't completed. They can cause confusion when reading code and add unnecessary lines to the codebase. <!--more--> ## Examples ### Bad practice ```js if (someCheck) { } while (someCheck) { } switch(someCheck) { } try { doSomething(); …

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/CIDARLAB/3DuF/issue/JS-0009/occurrences/

rkrishnasanka commented 3 years ago

@MurrayLF this will be one of the issues you'll end up resolving in your task

rkrishnasanka commented 3 years ago

Seems like these have been fixed