UNPKG

eslint-rules

Version:

My custom eslint rules in addition to the ones provided at http://eslint.org/

9 lines (8 loc) 195 B
module.exports = function (context) { 'use strict'; return { Function: function (node) { context.report(node, 'for loops are not allowed', { identifier: node.name }); } }; };