LeanCodeLintConfig class final

Constructors

LeanCodeLintConfig({String? applicationPrefix, Map<String, List<DesignSystemForbiddenItem>> designSystemItemReplacements = const {}, CatchParameterNamesConfig catchParameterNames = const .new()})
const

Properties

applicationPrefix String?
Used by some rules (e.g. prefix_widgets_returning_slivers) to match project-specific prefixes.
final
catchParameterNames CatchParameterNamesConfig
Configuration for the catch_parameter_names 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
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