@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.
- package/dist/{chunk-WY5MMHK2.js → chunk-SVX3WRFV.js} +2 -1
- package/dist/chunk-SVX3WRFV.js.map +1 -0
- package/dist/eslint-plugin.cjs +1 -0
- package/dist/eslint-plugin.cjs.map +1 -1
- package/dist/eslint-plugin.js +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-WY5MMHK2.js.map +0 -1
package/dist/eslint-plugin.cjs
CHANGED
|
@@ -3530,6 +3530,7 @@ function getStaticStringFromJSXValue(node) {
|
|
|
3530
3530
|
const expression = node.expression;
|
|
3531
3531
|
if (!expression) return null;
|
|
3532
3532
|
if (import_typescript4.default.isStringLiteral(expression)) return expression.text;
|
|
3533
|
+
if (import_typescript4.default.isNumericLiteral(expression)) return expression.text;
|
|
3533
3534
|
if (import_typescript4.default.isNoSubstitutionTemplateLiteral(expression)) return expression.text;
|
|
3534
3535
|
if (import_typescript4.default.isTemplateExpression(expression) && expression.templateSpans.length === 0) {
|
|
3535
3536
|
return expression.head.text;
|