@drskillissue/ganko 0.2.7 → 0.2.71

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.
@@ -14,7 +14,7 @@ import {
14
14
  rules3,
15
15
  runCrossFileRules,
16
16
  runPhases
17
- } from "./chunk-WY5MMHK2.js";
17
+ } from "./chunk-SVX3WRFV.js";
18
18
  import "./chunk-EGRHWZRV.js";
19
19
 
20
20
  // src/eslint-adapter.ts
package/dist/index.cjs CHANGED
@@ -3975,6 +3975,7 @@ function getStaticStringFromJSXValue(node) {
3975
3975
  const expression = node.expression;
3976
3976
  if (!expression) return null;
3977
3977
  if (import_typescript4.default.isStringLiteral(expression)) return expression.text;
3978
+ if (import_typescript4.default.isNumericLiteral(expression)) return expression.text;
3978
3979
  if (import_typescript4.default.isNoSubstitutionTemplateLiteral(expression)) return expression.text;
3979
3980
  if (import_typescript4.default.isTemplateExpression(expression) && expression.templateSpans.length === 0) {
3980
3981
  return expression.head.text;