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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-crisp",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
4
4
  "description": "Custom ESLint Rules for Crisp",
5
5
  "author": "Crisp IM SAS",
6
6
  "main": "index.js",
@@ -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)) {