use-list-literal / R1734ΒΆ
Message emitted:
Consider using [] instead of list()
Description:
Emitted when using list() to create an empty list instead of the literal []. The literal is faster as it avoids an additional function call.
Created by refactoring
checker