eslint-plugin-crisp 1.0.63 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ module.exports = {
|
|
|
31
31
|
// Check each tag individually
|
|
32
32
|
vueTags.forEach((tag, index) => {
|
|
33
33
|
const tagRegExp = new RegExp(`<${tag}`);
|
|
34
|
-
const headerRegExp = new RegExp(`<!--\\s*\\*{73}\\s*\\n\\s*${headers[index]}\\s*\\n\\s*\\*{73}\\s*-->\\s*\\n\\s*<${tag}`);
|
|
34
|
+
const headerRegExp = new RegExp(`<!--\\s*\\*{70,73}\\s*\\n\\s*${headers[index]}\\s*\\n\\s*\\*{70,73}\\s*-->\\s*\\n\\s*<${tag}`);
|
|
35
35
|
|
|
36
36
|
// If the tag exists without the corresponding header, report an error
|
|
37
37
|
if (tagRegExp.test(fileContent) && !headerRegExp.test(fileContent)) {
|