LeanCodeLintConfig class final

Constructors

LeanCodeLintConfig({String? applicationPrefix, Map<String, List<DesignSystemForbiddenItem>> designSystemItemReplacements = const {}, CatchParameterNamesConfig catchParameterNames = const .new(), BlocRelatedClassNamingConfig blocRelatedClassNaming = const .new(), CognitiveComplexityConfig cognitiveComplexity = const .new(), PreferDotShorthandConfig preferDotShorthand = const .new()})
const

Properties

applicationPrefix → String?
Used by some rules (e.g. prefix_widgets_returning_slivers) to match project-specific prefixes.
final
blocRelatedClassNaming → BlocRelatedClassNamingConfig
Configuration for the bloc_related_class_naming rule.
final
catchParameterNames → CatchParameterNamesConfig
Configuration for the catch_parameter_names rule.
final
cognitiveComplexity → CognitiveComplexityConfig
Configuration for the cognitive_complexity rule.
final
designSystemItemReplacements → Map<String, List<DesignSystemForbiddenItem>>
Configuration for the use_design_system_item rule. Defines which types are forbidden and what to use instead.
final
hashCode → int
The hash code for this object.
no setterinherited
preferDotShorthand → PreferDotShorthandConfig
Configuration for the prefer_dot_shorthand rule.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited