My automation template was rejected for using ‘var’ declarations. The error message says to use modern ES6 variables. Isn’t this too strict? The code works fine as-is. How critical is this requirement for marketplace approval?
Marketplace requires ES6 best practices. I help maintain 15+ templates - use Latenode’s code validator before submission. It automatically flags var usage and suggests fixes. Takes 2 minutes to resolve.
This enforcement ensures templates work predictably in all environments. Var declarations can lead to unexpected hoisting behaviors in certain runtime contexts. While your specific case might work, the marketplace standards prevent broader compatibility issues. The validator’s ‘auto-fix’ feature handles most conversions safely.
Just run the linter - shift+ctrl+L. Fixes vars in seconds. Not worth fighting policy when tool does work for u