This warning category is spelled
[comma]
by qmllint.
A JavaScript comma expression was used outside of a for loop.
Comma expressions reduce readability of the code and obscure side-effects.
import QtQuick Item { Component.onCompleted: init(config, true), enableLogging(categories), run(1000) // millis }
To fix this warning, refactor the code to use distinct statements for each operation. This way, each side effect is explicit instead of happening as part of another unrelated operation:
import QtQuick Item { Component.onCompleted: { init(config, true) enableLogging(categories) run(1000) // millis } }