Skip to content

Conversation

elsmr
Copy link
Contributor

@elsmr elsmr commented Oct 2, 2025

The lint fix for the node-param-default-wrong-for-options rule would not work correctly in a few cases:

  • When there is a loadOptionsMethod or loadOptions object, it would clear it ('')
    • New behavior: allow any value
  • When default was set to a variable (or any non-literal expression), it would replace it
    • New behavior: allow any expression that is not a literal

Related PR: n8n-io/n8n#20301

Copy link
Owner

@ivov ivov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! 🚀

@ivov ivov merged commit 2c7cd19 into ivov:master Oct 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants