UNPKG

eslint-plugin-comment-length

Version:

An ESLint plugin that provides rules that limit the line length of your comments

12 lines (8 loc) 350 B
'use strict'; var util_formatBlock = require('./util.format-block.cjs'); function fixOverflow(fixer, fixableComment, context) { const newValue = util_formatBlock.formatBlock(fixableComment, context); return fixer.replaceTextRange(context.comment.range, newValue); } exports.fixOverflow = fixOverflow; //# sourceMappingURL=fix.overflow.cjs.map