This warning category is spelled
[void]
by qmllint.
A JavaScript void expression was used.
The void expression has become mostly redundant and can obscure the logic of some code by suppressing returned values. It is also prohibited in many code styles for being non-obvious and hard to read.
import QtQuick Item { function undef() { return void 0 } function f() { return void someFunction() } }
To fix this warning, remove or replace the use of void:
import QtQuick Item { function undef() { return undefined } function f() { somefunction() } }