@saasmakers/eslint 1.0.23 → 1.0.24

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/dist/index.cjs CHANGED
@@ -809,8 +809,8 @@ const templateTagLength = "<template>".length;
809
809
  const propsPrefixRegex = /\$?props\.(\w+)/g;
810
810
  const trueAttributeRegex = /(?<![\w-]):?(?!aria-)([a-z0-9-]+)="true"/gi;
811
811
  const eventHandlerRegex = /(?:@|v-on:)[^\s="'<>/]+\s*=\s*"([^"]*)"/g;
812
- const bareIdentifierRegex = /^[A-Za-z_$][\w$]*$/;
813
- const singleCallRegex = /^([A-Za-z_$][\w$]*)\s*\(.*\)$/s;
812
+ const bareIdentifierRegex = /^[a-z_$][\w$]*$/i;
813
+ const singleCallRegex = /^([a-z_$][\w$]*)\s*\(.*\)$/is;
814
814
  const onPrefixRegex = /^on[A-Z]/;
815
815
  const exemptCallees = /* @__PURE__ */ new Set(["$emit", "emit"]);
816
816
  const dollarTPatterns = [
package/dist/index.mjs CHANGED
@@ -807,8 +807,8 @@ const templateTagLength = "<template>".length;
807
807
  const propsPrefixRegex = /\$?props\.(\w+)/g;
808
808
  const trueAttributeRegex = /(?<![\w-]):?(?!aria-)([a-z0-9-]+)="true"/gi;
809
809
  const eventHandlerRegex = /(?:@|v-on:)[^\s="'<>/]+\s*=\s*"([^"]*)"/g;
810
- const bareIdentifierRegex = /^[A-Za-z_$][\w$]*$/;
811
- const singleCallRegex = /^([A-Za-z_$][\w$]*)\s*\(.*\)$/s;
810
+ const bareIdentifierRegex = /^[a-z_$][\w$]*$/i;
811
+ const singleCallRegex = /^([a-z_$][\w$]*)\s*\(.*\)$/is;
812
812
  const onPrefixRegex = /^on[A-Z]/;
813
813
  const exemptCallees = /* @__PURE__ */ new Set(["$emit", "emit"]);
814
814
  const dollarTPatterns = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/eslint",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "private": false,
5
5
  "description": "Shared ESLint config and rules for SaaS Makers projects",
6
6
  "license": "MIT",