Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
enable combinators_ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
pq committed Jul 13, 2022
1 parent ee4e627 commit 0b0f549
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ linter:
- cancel_subscriptions
# - cascade_invocations
- cast_nullable_to_non_nullable
- combinators_ordering
# - close_sinks # https://github.com/dart-lang/linter/issues/268
- comment_references
- directives_ordering
- discarded_futures
- invariant_booleans
- join_return_with_assignment
# - lines_longer_than_80_chars # under review (see #1068)
- literal_only_boolean_expressions
Expand Down
8 changes: 4 additions & 4 deletions lib/src/analyzer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ export 'package:analyzer/src/generated/source.dart' show LineInfo, Source;
export 'package:analyzer/src/lint/linter.dart'
show
DartLinter,
LintRule,
Group,
Maturity,
LintFilter,
LintRule,
LinterContext,
LinterOptions,
LintFilter,
Maturity,
NodeLintRegistry,
NodeLintRule;
export 'package:analyzer/src/lint/pub.dart' show PubspecVisitor, PSEntry;
export 'package:analyzer/src/lint/pub.dart' show PSEntry, PubspecVisitor;
export 'package:analyzer/src/lint/util.dart' show Spelunker;
export 'package:analyzer/src/services/lint.dart' show lintRegistry;
export 'package:analyzer/src/workspace/pub.dart' show PubWorkspacePackage;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/formatter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import 'dart:math';
import 'package:analyzer/error/error.dart';

import 'analyzer.dart';
import 'util/charcodes.dart' show $pipe, $backslash;
import 'util/charcodes.dart' show $backslash, $pipe;
import 'util/score_utils.dart';

// Number of times to perform linting to get stable benchmarks.
Expand Down

0 comments on commit 0b0f549

Please sign in to comment.