mauin
02/05/2018, 6:13 AMNanchen
02/05/2018, 6:22 AMdetekt could do it in specific classes, such as same configuration in classes which is using same suffix...mauin
02/05/2018, 6:29 AMmauin
02/05/2018, 6:30 AMmauin
02/05/2018, 6:32 AMfilters parameter to exclude certain parts of the codebase from this configuration.mauin
02/05/2018, 6:33 AMNanchen
02/05/2018, 6:48 AMfilter could be a way to resolve my problem, let me try it on my side.😄
On the other hand, in Android project, there are some specific scenarios which we could not use same configuration, there is an example: we have a hight user-interaction view, so we’ll define more than 10 functions in an interface, which will break the TooManyFunctions rule… so we wanna filter some specific classesmauin
02/05/2018, 7:00 AM@Suppress annotation on those classes.mauin
02/05/2018, 7:01 AM@Suppress("TooManyFunctions") annotation to that interface, the rule will not report any issues on that interface.Artur Bosch
02/07/2018, 12:22 PMprofiles for each package by specifying the input parameter, in CI you can run mutliple gradle detektCheck -Ddetekt.profile=presenterNanchen
02/07/2018, 12:24 PM