LintConfig class

A configuration for linting rules

Currently sparse at the moment.

Constructors

LintConfig({required Set<String> types, required int maxHeaderLength})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
maxHeaderLength int
The maximum length of the header
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
types Set<String>
The list of commit types allowed
final
typesDisplay String
For printing the types
no setter

Methods

copyWith({Set<String>? types, int? maxHeaderLength}) LintConfig
Return a new config based on another while overriding some fields
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

Constants

defaultConfig → const LintConfig
The default configuration