diff --git a/.eslintrc.js b/.eslintrc.js index 45bcc9f9a9b3c..1dfc39f2ddc65 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -427,6 +427,7 @@ module.exports = { 'n8n-nodes-base/node-param-placeholder-miscased-id': 'error', 'n8n-nodes-base/node-param-description-miscased-url': 'error', 'n8n-nodes-base/node-param-option-name-wrong-for-upsert': 'error', + 'n8n-nodes-base/node-param-default-wrong-for-number': 'error', }, }, ], diff --git a/packages/nodes-base/nodes/FileMaker/FileMaker.node.ts b/packages/nodes-base/nodes/FileMaker/FileMaker.node.ts index 79f6820373a89..e5d3b2dc86185 100644 --- a/packages/nodes-base/nodes/FileMaker/FileMaker.node.ts +++ b/packages/nodes-base/nodes/FileMaker/FileMaker.node.ts @@ -134,7 +134,7 @@ export class FileMaker implements INodeType { placeholder: '0', description: 'The record number of the first record in the range of records', type: 'number', - default: '1', + default: 1, displayOptions: { show: { action: [ @@ -153,7 +153,7 @@ export class FileMaker implements INodeType { typeOptions: { minValue: 1, }, - default: '100', + default: 100, displayOptions: { show: { action: [ diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index b5e6adc4c82b8..9abe8dd12e05e 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -713,7 +713,7 @@ "@types/tmp": "^0.2.0", "@types/uuid": "^8.3.2", "@types/xml2js": "^0.4.3", - "eslint-plugin-n8n-nodes-base": "^1.0.29", + "eslint-plugin-n8n-nodes-base": "^1.0.35", "gulp": "^4.0.0", "jest": "^27.4.7", "n8n-workflow": "~0.101.0",