Skip to content

Commit 8c4f299

Browse files
refactor: change server errors from var to final in custom analyzer converter
1 parent 6572de3 commit 8c4f299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/custom_lint_builder/lib/src/custom_analyzer_converter.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class CustomAnalyzerConverter {
7777
analyzer.AnalysisOptions? options,
7878
Map<String, analyzer.ErrorSeverity>? configSeverities,
7979
}) {
80-
var serverErrors = <plugin.AnalysisError>[];
80+
final serverErrors = <plugin.AnalysisError>[];
8181
for (final error in errors) {
8282
final processor = analyzer.ErrorProcessor.getProcessor(options, error);
8383
final configSeverity = configSeverities?[error.errorCode.name];

0 commit comments

Comments
 (0)