Javascript: Error/Warn when setting global variable

XMLWordPrintable

      ZBX-24767 shows it is possible to forget to declare variable as local and this causes hard to understand problems.

      I see no use for global variables in Zabbix preprocessing so I kindly ask you to see if they can be disabled or turned into warnings/errors.

        1. screenshot-2.png
          22 kB
          user185953
        2. screenshot-1.png
          23 kB
          user185953
        3. image-2026-03-25-08-33-25-361.png
          11 kB
          user185953

            Assignee:
            Andris Zeila
            Reporter:
            user185953
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: