com.yegor256
tojos
@@ -716,6 +727,29 @@
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+
+
+
+ copy-javascript
+ process-resources
+
+ copy-resources
+
+
+ ${project.build.directory}/javascript
+
+
+ src/main/javascript
+ false
+
+
+
+
+
+
org.apache.maven.plugins
maven-dependency-plugin
@@ -740,6 +774,35 @@
+
+ com.github.eirslett
+ frontend-maven-plugin
+ 1.15.1
+
+
+ install-node-and-npm
+
+ install-node-and-npm
+
+
+ v18.17.1
+ 9.8.1
+
+
+
+ npm-install
+
+ npm
+
+ process-resources
+
+ install
+ ${project.build.directory}/javascript
+ .
+
+
+
+
diff --git a/src/main/java/org/eolang/lints/Defect.java b/src/main/java/org/eolang/lints/Defect.java
index 554bf7bdb..8f70e2f92 100644
--- a/src/main/java/org/eolang/lints/Defect.java
+++ b/src/main/java/org/eolang/lints/Defect.java
@@ -158,6 +158,21 @@ public Default(
this(rule, severity, object, line, text, false);
}
+ /**
+ * Ctor.
+ * @param rule Rule name
+ * @param severity Severity level
+ * @param line Line number
+ * @param text Description of the defect
+ * @checkstyle ParameterNumberCheck (5 lines)
+ */
+ Default(
+ final String rule, final Severity severity,
+ final int line, final String text
+ ) {
+ this(rule, severity, "", line, text);
+ }
+
/**
* Ctor.
*
diff --git a/src/main/java/org/eolang/lints/LtInvalidMarkdownComment.java b/src/main/java/org/eolang/lints/LtInvalidMarkdownComment.java
new file mode 100644
index 000000000..1f207af69
--- /dev/null
+++ b/src/main/java/org/eolang/lints/LtInvalidMarkdownComment.java
@@ -0,0 +1,92 @@
+/*
+ * SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
+ * SPDX-License-Identifier: MIT
+ */
+package org.eolang.lints;
+
+import com.github.lombrozo.xnav.Xnav;
+import com.jcabi.xml.XML;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import java.util.stream.Collectors;
+import java.util.stream.Stream;
+import org.cactoos.io.ResourceOf;
+import org.cactoos.text.IoCheckedText;
+import org.cactoos.text.TextOf;
+import org.eolang.parser.OnDefault;
+
+/**
+ * Comments should not be violated from the point of view of markdownlint.
+ * This lint works for multiple files, as creating a MarkdownLinter takes a very long time
+ * and creating it many times is a bad idea.
+ *
+ * @since 0.0.47
+ */
+final class LtInvalidMarkdownComment implements Lint