Hi,
I'm trying out detekt first time. I want to add additional functionality to it. I want to be able to detect authorship comments at top of file. There is rule for comments
ForbiddenComment
but I'm not sure how to customize it to check for the specific type of comments. Or do I need to make a new rule altogether, Please point me to the relevant path. Thanks!
Example comment I'm talking about:-
Copy code
/**
* Created by Dev Name on 28/05/21.
*/
Example 2-
Copy code
/*
* @Author: Dev name
* Email: <mailto:devname@company.com|devname@company.com>
*/
Ankur Gupta
06/20/2021, 2:04 PM
Edit: So I figured it out. Needed to add custom configuration *.yml file with values