Skip to content

Commit

Permalink
Update the probem message for sort-constructors-first to be more clear (
Browse files Browse the repository at this point in the history
  • Loading branch information
bwilkerson authored Jul 17, 2023
1 parent 4376d24 commit b95c56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/rules/sort_constructors_first.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ abstract class Animation<T> {

class SortConstructorsFirst extends LintRule {
static const LintCode code = LintCode('sort_constructors_first',
'Invalid location for a constructor declaration.',
'Constructor declarations should be before non-constructor declarations.',
correctionMessage:
'Try moving the constructor declaration before all other members.');

Expand Down

0 comments on commit b95c56a

Please sign in to comment.