Skip to content

Commit

Permalink
Set default severity level to warning (#78)
Browse files Browse the repository at this point in the history
Co-authored-by: vladimir-beloded <[email protected]>
  • Loading branch information
solid-vovabeloded and vova-beloded-solid authored Nov 20, 2023
1 parent b45d2be commit 7c3dd0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/models/rule_config.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:analyzer/error/error.dart';
import 'package:custom_lint_builder/custom_lint_builder.dart';

/// Type definition of a value factory which allows us to map data from
Expand Down Expand Up @@ -37,5 +38,6 @@ class RuleConfig<T extends Object?> {
LintCode get lintCode => LintCode(
name: name,
problemMessage: _problemMessageFactory(parameters),
errorSeverity: ErrorSeverity.WARNING,
);
}

0 comments on commit 7c3dd0e

Please sign in to comment.