no-record-time

1.0.0 • Public • Published

简介

如果定义了一个定时器,但是没有清除,有可能造成意外的内存泄漏或者多余的内存消耗。 清除定时器至少需要一个索引,所以检测定时器设置的时候是否加了索引。

Usage

Add no-record-time to the plugins section of your .eslintrc:

{
  "plugins": [
    "no-record-time"
  ]
}

Dependents (0)

Package Sidebar

Install

npm i no-record-time

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

2.83 kB

Total Files

6

Last publish

Collaborators

  • qiwen