How to create a lint warning like "Modifier parameter should be the first optional parameter"?

516 Views Asked by At

How to create a lint warning like this?

Lint Warning
Lint Warning

I am clear on Why this warning is shown and how to fix it.

I am interested in understanding how this lint warning is created and is there a way to make a custom lint warning like this?

0

There are 0 best solutions below