@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
|
@@ -4015,6 +4015,7 @@ function getStaticStringFromJSXValue(node) {
|
|
|
4015
4015
|
const expression = node.expression;
|
|
4016
4016
|
if (!expression) return null;
|
|
4017
4017
|
if (ts7.isStringLiteral(expression)) return expression.text;
|
|
4018
|
+
if (ts7.isNumericLiteral(expression)) return expression.text;
|
|
4018
4019
|
if (ts7.isNoSubstitutionTemplateLiteral(expression)) return expression.text;
|
|
4019
4020
|
if (ts7.isTemplateExpression(expression) && expression.templateSpans.length === 0) {
|
|
4020
4021
|
return expression.head.text;
|
|
@@ -41387,4 +41388,4 @@ export {
|
|
|
41387
41388
|
rules3,
|
|
41388
41389
|
runCrossFileRules
|
|
41389
41390
|
};
|
|
41390
|
-
//# sourceMappingURL=chunk-
|
|
41391
|
+
//# sourceMappingURL=chunk-SVX3WRFV.js.map
|