CustomLintConfigs class
Configurations representing the custom_lint metadata in the project's analysis_options.yaml
.
- Annotations
-
- @immutable
Constructors
-
CustomLintConfigs({required bool? enableAllLintRules, required bool verbose, required bool debug, required Map<
String, LintOptions> rules}) -
Configurations representing the custom_lint metadata in the project's
analysis_options.yaml
.const - CustomLintConfigs.parse(File? analysisOptionsFile, PackageConfig packageConfig)
-
Decode a CustomLintConfigs from a file.
factory
Properties
- debug → bool
-
Whether enable hot-reload and log the VM-service URI.
final
- enableAllLintRules → bool?
-
A field representing whether to enable/disable lint rules that are not
listed in:
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
rules
→ Map<
String, LintOptions> -
A list of lints that are explicitly enabled/disabled in the config file,
along with extra per-lint configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verbose → bool
-
Whether to enable verbose logging.
final
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.
override
Constants
- empty → const CustomLintConfigs
- An empty custom_lint configuration