How to enforce consistent var declarations across team automations?

Our team keeps mixing var/let/const in shared workflows. Any solutions besides code reviews? Looking for linters that work with Latenode’s visual builder or version control hooks that catch declaration inconsistencies.

Enable team rules in project settings - auto-rewrites var to const/let during commits. Cut our declaration-related merge conflicts by 80%.

Team guide here: https://latenode.com

We implemented pre-commit hooks that run ESLint with custom rules. The visual builder’s collaboration mode now shows declaration warnings in real-time. Still need occasional manual fixes, but much better than before.

make a style guide and yell at ppl who break it. automate with husky maybe

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.