{"version":3,"file":"fix.overflow.cjs","sources":["../../../../src/rules/limit-single-line-comments/fix.overflow.ts"],"sourcesContent":["import type { TSESLint, TSESTree } from \"@typescript-eslint/utils\";\n\nimport type { Context } from \"../../typings.context.js\";\n\nimport { formatBlock } from \"./util.format-block.js\";\n\nexport function fixOverflow(\n  fixer: TSESLint.RuleFixer,\n  fixableComment: TSESTree.LineComment,\n  context: Context,\n) {\n  const newValue = formatBlock(fixableComment, context);\n\n  return fixer.replaceTextRange(context.comment.range, newValue);\n}\n"],"names":["formatBlock"],"mappings":";;;;AAMgB,SAAA,WAAA,CACd,KACA,EAAA,cAAA,EACA,OACA,EAAA;AACA,EAAM,MAAA,QAAA,GAAWA,4BAAY,CAAA,cAAA,EAAgB,OAAO,CAAA,CAAA;AAEpD,EAAA,OAAO,KAAM,CAAA,gBAAA,CAAiB,OAAQ,CAAA,OAAA,CAAQ,OAAO,QAAQ,CAAA,CAAA;AAC/D;;;;"}