Max lines per class in TS

I don’t think that it’s possible but can you define a maximum number of lines (or functions) a TypeScript class is allowed to have? Either as a rule or quality gate condition.

The best way to identify large classes is probably going to measures/project overview and looking for the largest circles, am I correct?

Thanks in advance


It sounds like you’re interested in rule S104 Files should not have too many lines of code.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.