Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

(JS-0009) Found empty block statements #4

Open
claranceliberi opened this issue Mar 12, 2021 · 0 comments
Open

(JS-0009) Found empty block statements #4

claranceliberi opened this issue Mar 12, 2021 · 0 comments

Comments

@claranceliberi
Copy link
Owner

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. Example - The not-preferred way : ```js if (foo) { } while (foo) { } switch(foo) { } try { doSomething(); …

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/ntwaricliberi/rca-auth/issue/JS-0009/occurrences/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant