check for calls to global.setTimeout and global.setInterval

This commit is contained in:
Hazelnoot 2025-10-02 13:29:48 -04:00
parent 32a9a383d2
commit 02274eb94f

View file

@ -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': [