@foundbyte/eslint-plugin 1.1.4-alpha.5 → 1.1.4-alpha.6

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.
@@ -81,7 +81,7 @@ module.exports = {
81
81
  const text = sourceCode.getText();
82
82
 
83
83
  // 使用正则表达式匹配模板中的标签和属性
84
- const tagRegex = /<(\w+)([^>]*)>/g;
84
+ const tagRegex = /<([\w-]+)([^>]*)>/g;
85
85
  let match;
86
86
 
87
87
  while ((match = tagRegex.exec(text)) !== null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foundbyte/eslint-plugin",
3
- "version": "1.1.4-alpha.5",
3
+ "version": "1.1.4-alpha.6",
4
4
  "description": "ESLint plugin for enforcing code style rules including arrow function padding, Vue script lines limit, and TypeScript type comment requirements",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",