check for calls to global.setTimeout and global.setInterval
This commit is contained in:
parent
32a9a383d2
commit
02274eb94f
1 changed files with 2 additions and 0 deletions
|
|
@ -59,9 +59,11 @@ export default [
|
|||
{
|
||||
name: 'setTimeout',
|
||||
message: 'Use TimeService.startTimer instead.',
|
||||
checkGlobalObject: true,
|
||||
}, {
|
||||
name: 'setInterval',
|
||||
message: 'Use TimeService.startTimer instead.',
|
||||
checkGlobalObject: true,
|
||||
}
|
||||
],
|
||||
'no-restricted-properties': [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue