You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[leaf_preview_must_not_use_injectables_or_navigation](#leaf_preview_must_not_use_injectables_or_navigation)| Leaf.preview must remain side-effect free: do not resolve/use injectables or navigation APIs in preview, including through reachable helper calls. | WARNING | ❌ | 1 |
9
29
|[must_call_in_constructor](#must_call_in_constructor)| Requires constructors to call methods annotated with @mustCallInConstructor from supertypes or mixins. It respects concreteOnly (abstract classes must not call those methods) and exempt (subtypes listed as exempt must not call the method at all). | ERROR | ✅ | 6 |
10
30
|[abstract_classes_should_set_log_group](#abstract_classes_should_set_log_group)| Abstract classes that mix in LogMixin must override `group` to return their class name. If they extend another abstract LogMixin class, they must append their class name to `super.group` to keep group names hierarchical. | INFO | ✅ | 1 |
11
31
|[concrete_classes_should_set_log_tag](#concrete_classes_should_set_log_tag)| Concrete (non-abstract) classes that mix in LogMixin must override `logTag` to return their own class name. This applies even when inheriting from another LogMixin class so each class logs with a specific tag. | INFO | ✅ | 1 |
12
32
|[base_class](#base_class)| Enforces the BaseClass contract: subclasses must live in allowed layers, use the base class name as a suffix when forceSuffix is true, reside in the configured type directory with a snake_case filename, be the only class in the file, and any class inside the type directory must extend the base class. Test files are exempt. | INFO | ❌ | 6 |
13
-
|[domain_factory_from_di](#domain_factory_from_di)| Requires domain services and datasources (excluding base classes) to declare an unnamed factory constructor that resolves the implementation from DI. | INFO | ✅ | 1 |
33
+
|[domain_factory_from_di](#domain_factory_from_di)| Requires domain services and datasources (excluding base classes) to declare an unnamed factory constructor that retrieves the implementation from DI. | INFO | ✅ | 1 |
14
34
|[prefer_domain_di_factory](#prefer_domain_di_factory)| Prefer using the domain contract factory constructor over direct DI access (Service.get/Datasource.get) outside the domain layer. | INFO | ✅ | 1 |
35
+
|[lifecycle_mixin_requires_singleton](#lifecycle_mixin_requires_singleton)| Classes that combine Injectable and LifecycleMixin must resolve as singletons by returning true from singelton. | ERROR | ❌ | 1 |
0 commit comments