diff --git a/lib/lints/member_ordering/models/member_ordering_parameters.dart b/lib/lints/member_ordering/models/member_ordering_parameters.dart index 60937d1c..ceb614fb 100644 --- a/lib/lints/member_ordering/models/member_ordering_parameters.dart +++ b/lib/lints/member_ordering/models/member_ordering_parameters.dart @@ -31,7 +31,7 @@ class MemberOrderingParameters { static const _orderConfig = 'order'; static const _widgetsOrderConfig = 'widgets_order'; static const _alphabetizeConfig = 'alphabetize'; - static const _alphabetizeByTypeConfig = 'alphabetize-by-type'; + static const _alphabetizeByTypeConfig = 'alphabetize_by_type'; /// Config used for members of regular class final List groupsOrder; diff --git a/lint_test/alphabetize_by_type_test/analysis_options.yaml b/lint_test/alphabetize_by_type_test/analysis_options.yaml index c4d39159..000cfecb 100644 --- a/lint_test/alphabetize_by_type_test/analysis_options.yaml +++ b/lint_test/alphabetize_by_type_test/analysis_options.yaml @@ -5,4 +5,4 @@ analyzer: custom_lint: rules: - member_ordering: - alphabetize-by-type: true + alphabetize_by_type: true