Some builtin types have aliases, some types are considered dangerous or harmful. It's often a good idea to ban certain types to help with consistency and safety.
Occurrences
There is 1 occurrence of this issue in the repository.
Using literals like true, 0, and false on either side of a logical operator is unnecessary. For example, true && something will always evaluate to something.
Occurrences
There are 4 occurrences of this issue in the repository.
A function that does not contain any await expressions should not be async (except for some edge cases in TypeScript which are discussed below). Asynchronous functions in JavaScript behave differently than other functions in two important ways:
Occurrences
There are 2 occurrences of this issue in the repository.