Group: style
Maturity: stable
Dart SDK: >= 2.19.0 • (Linter v1.26.0)
Since info is static, may be staleDO sort combinator names alphabetically.
BAD:
import 'a.dart' show B, A hide D, C;
export 'a.dart' show B, A hide D, C;
GOOD:
import 'a.dart' show A, B hide C, D;
export 'a.dart' show A, B hide C, D;
To enable the combinators_ordering
lint,
add combinators_ordering
under linter > rules in your
analysis_options.yaml
file:
linter:
rules:
- combinators_ordering