UNPKG

eslint-plugin-comment-length

Version:

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

4 lines (3 loc) 143 B
export function isCommentInComment(value: string): boolean { return value.includes("// ") || value.includes("/*") || value.includes("*/"); }