mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
👕 Autofix node-param-default-missing (#3173)
This commit is contained in:
parent
9c0e5e01db
commit
46a176fa3b
|
@ -374,8 +374,8 @@ module.exports = {
|
|||
files: ['./packages/nodes-base/nodes/**/*.ts'],
|
||||
plugins: ['eslint-plugin-n8n-nodes-base'],
|
||||
rules: {
|
||||
|
||||
},
|
||||
"n8n-nodes-base/node-param-default-missing": "error"
|
||||
}
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
59785
package-lock.json
generated
59785
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -54,6 +54,7 @@ export class ClockifyTrigger implements INodeType {
|
|||
displayName: 'Trigger',
|
||||
name: 'watchField',
|
||||
type: 'options',
|
||||
default: '',
|
||||
options: [
|
||||
{
|
||||
name: 'New Time Entry',
|
||||
|
|
|
@ -140,6 +140,7 @@ export class LocalFileTrigger implements INodeType {
|
|||
displayName: 'Max Folder Depth',
|
||||
name: 'depth',
|
||||
type: 'options',
|
||||
default: '-1',
|
||||
options: [
|
||||
{
|
||||
name: 'Unlimited',
|
||||
|
|
|
@ -112,6 +112,7 @@ export class Pushover implements INodeType {
|
|||
displayName: 'Priority',
|
||||
name: 'priority',
|
||||
type: 'options',
|
||||
default: '-2',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
|
|
|
@ -522,6 +522,7 @@ export class Switch implements INodeType {
|
|||
displayName: 'Fallback Output',
|
||||
name: 'fallbackOutput',
|
||||
type: 'options',
|
||||
default: '-1',
|
||||
displayOptions: {
|
||||
show: {
|
||||
mode: [
|
||||
|
|
|
@ -187,6 +187,7 @@ export const channelFields: INodeProperties[] = [
|
|||
default: false,
|
||||
description: 'If enabled, the channel will be marked as public.',
|
||||
},
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-default-missing
|
||||
{
|
||||
displayName: 'Temp ID',
|
||||
name: 'temp_id',
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
"build:translations": "gulp build:translations",
|
||||
"format": "cd ../.. && node_modules/prettier/bin-prettier.js packages/nodes-base/**/**.ts --write",
|
||||
"lint": "tslint -p tsconfig.json -c tslint.json",
|
||||
"lintfix": "tslint --fix -p tsconfig.json -c tslint.json",
|
||||
"lintfix:old": "cd ../.. && node_modules/eslint/bin/eslint.js packages/nodes-base/nodes --fix",
|
||||
"lintfix": "cd ../.. && node_modules/eslint/bin/eslint.js packages/nodes-base/nodes --fix",
|
||||
"lintfix:old": "tslint --fix -p tsconfig.json -c tslint.json",
|
||||
"nodelinter": "nodelinter",
|
||||
"watch": "tsc --watch",
|
||||
"test": "jest"
|
||||
|
@ -715,6 +715,7 @@
|
|||
"@types/tmp": "^0.2.0",
|
||||
"@types/uuid": "^8.3.2",
|
||||
"@types/xml2js": "^0.4.3",
|
||||
"eslint-plugin-n8n-nodes-base": "^1.0.28",
|
||||
"gulp": "^4.0.0",
|
||||
"jest": "^27.4.7",
|
||||
"n8n-workflow": "~0.96.0",
|
||||
|
|
Loading…
Reference in a new issue