Sha256: 2ec8f4f7ba70fce6f6590505801645f75d7c87913c75a477e82154c290e456f9
Contents?: true
Size: 510 Bytes
Versions: 2
Compression:
Stored size: 510 Bytes
Contents
/** * @fileoverview Rule to flag use of a debugger statement * @author Nicholas C. Zakas */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ module.exports = function(context) { return { "DebuggerStatement": function(node) { context.report(node, "Unexpected 'debugger' statement."); } }; }; module.exports.schema = [];
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eslint_node_modules-1.6.0.1 | vendor/node_modules/eslint/lib/rules/no-debugger.js |
eslint_node_modules-1.6.0 | vendor/node_modules/eslint/lib/rules/no-debugger.js |