Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

Latest commit

 

History

History
13 lines (10 loc) · 258 Bytes

max-classes-per-file.md

File metadata and controls

13 lines (10 loc) · 258 Bytes

This rule enforces that each file may contain only a particular number of classes and no more.

//Bad (with parameter 1):
class Foo {}
class Bar {}

//Good (with parameter 1):
class Foo {}

Source