diktat icon indicating copy to clipboard operation
diktat copied to clipboard

[`TOO_MANY_LINES_IN_LAMBDA`] Can we configure this rule somehow to not to trigger on frontend?

Open Cheshiriks opened this issue 2 years ago • 1 comments

          can we configure this rule somehow to not to trigger on frontend?

Originally posted by @kgevorkyan in https://github.com/saveourtool/save-cloud/pull/2099#discussion_r1173818369

We can only adjust the maximum size of the lamda itself. We can create an issue on Diktat.

Cheshiriks avatar Apr 21 '23 14:04 Cheshiriks

Probably we can create a separate diktat-config,yaml for frontend. KtLint uses .editorconfig for such cases. Probably we can migrate to such approach too

nulls avatar Apr 21 '23 15:04 nulls