UNPKG

@maniascript/mslint

Version:
16 lines (15 loc) 399 B
import {} from '../linter/rule.js'; export const noWait = { meta: { id: 'no-wait', description: 'Forbid the use of the wait() function', recommended: false }, create(context) { return { 'WaitStatement:exit': (node) => { context.report(node, 'The use of the \'wait()\' function is forbidden'); } }; } };