@isentinel/eslint-plugin-comment-length
Version:
13 lines • 565 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSemanticComment = void 0;
function isSemanticComment(comment) {
return (comment.value.includes("eslint-disable") ||
comment.value.includes("stylelint-disable") ||
comment.value.includes("tslint:disable") ||
comment.value.includes("eslint-enable") ||
comment.value.includes("stylelint-enable") ||
comment.value.includes("tslint:enable"));
}
exports.isSemanticComment = isSemanticComment;
//# sourceMappingURL=is-semantic-comment.js.map