Skip to content

Commit

Permalink
Merge branch 'release-v0.1.0' into feature/prefer-last
Browse files Browse the repository at this point in the history
  • Loading branch information
yurii-prykhodko-solid authored Sep 22, 2023
2 parents 3e2f9fc + 7e1deaf commit 4dbaaa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/solid_lints.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4dbaaa2

Please sign in to comment.