Pattern: Use of arrayOf(...)
syntax
Issue: -
This rule detects annotations which use the arrayOf(...)
syntax instead of the array literal [...]
syntax. The latter should be preferred as it is more readable.
Example of incorrect code:
@@PositiveCase(arrayOf("..."))
Example of correct code:
@@NegativeCase(["..."])