diff --git a/lib/solid_lints.dart b/lib/solid_lints.dart index d633409c..f43c00d2 100644 --- a/lib/solid_lints.dart +++ b/lib/solid_lints.dart @@ -22,6 +22,7 @@ import 'package:solid_lints/lints/number_of_parameters/number_of_parameters_metr import 'package:solid_lints/lints/prefer_conditional_expressions/prefer_conditional_expressions_rule.dart'; import 'package:solid_lints/lints/prefer_first/prefer_first_rule.dart'; import 'package:solid_lints/lints/prefer_last/prefer_last_rule.dart'; + import 'package:solid_lints/models/solid_lint_rule.dart'; /// Creates a plugin for our custom linter diff --git a/lint_test/prefer_conditional_expressions_ignore_nested_test/prefer_conditional_expressions_ignore_nested_test.dart b/lint_test/prefer_conditional_expressions_ignore_nested_test/prefer_conditional_expressions_ignore_nested_test.dart index 8c60e7ae..fddfa18a 100644 --- a/lint_test/prefer_conditional_expressions_ignore_nested_test/prefer_conditional_expressions_ignore_nested_test.dart +++ b/lint_test/prefer_conditional_expressions_ignore_nested_test/prefer_conditional_expressions_ignore_nested_test.dart @@ -6,7 +6,7 @@ void fun() { int _result = 0; - // Allowed because ignore-nested flag is set tot true + // Allowed because ignore-nested flag is enabled if (1 > 0) { _result = 1 > 2 ? 2 : 1; } else {