eslint-plugin-n8n-nodes-base
Advanced tools
Comparing version 1.0.34 to 1.0.35
@@ -54,9 +54,5 @@ var __create = Object.create; | ||
return; | ||
const name = import_getters.getters.nodeParam.getName(node); | ||
const displayName = import_getters.getters.nodeParam.getDisplayName(node); | ||
const hasNonNumberDefault = typeof _default.value !== "number"; | ||
const isIdParam = (name == null ? void 0 : name.value.toLowerCase().endsWith("id")) || (displayName == null ? void 0 : displayName.value.toLowerCase().endsWith("id")); | ||
if (hasNonNumberDefault && isIdParam) | ||
if (!Boolean(_default.value)) | ||
return; | ||
if (hasNonNumberDefault) { | ||
if (typeof _default.value !== "number") { | ||
context.report({ | ||
@@ -63,0 +59,0 @@ messageId: "setNumberDefault", |
{ | ||
"name": "eslint-plugin-n8n-nodes-base", | ||
"version": "1.0.34", | ||
"version": "1.0.35", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
385658
8706