Skip to content

no-sleep

Forbid the use of the sleep() function

Rule details

This rule prohibits sleep statements.

Example of incorrect code for this rule:

maniascript
main() {
  sleep(1000);
}

Resources