@masknet/eslint-plugin
Version:
eslint plugin for masknet
34 lines (20 loc) • 464 B
Markdown
<!-- begin title -->
# `@masknet/no-timer`
Disallow use timer function
<!-- end title -->
## Rule Details
### :x: Incorrect
```ts
setTimeout();
```
### :white_check_mark: Correct
## When Not To Use It
When you need the timer.
## Attributes
<!-- begin attributes -->
- [ ] :white_check_mark: Recommended
- [ ] :wrench: Fixable
- [ ] :bulb: Suggestions
- [ ] :gear: Configurable
- [ ] :thought_balloon: Requires type information
<!-- end attributes -->