From 1c576a60054e56b1e11ef168093cb98e46c8b9af Mon Sep 17 00:00:00 2001 From: jld3103 Date: Thu, 17 Aug 2023 08:31:55 +0200 Subject: [PATCH] feat(neon_lints): Enable new available rules Signed-off-by: jld3103 --- packages/neon_lints/bin/neon_lints.dart | 5 +---- packages/neon_lints/lib/dart.yaml | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/neon_lints/bin/neon_lints.dart b/packages/neon_lints/bin/neon_lints.dart index ff62cd2e..15a7e572 100644 --- a/packages/neon_lints/bin/neon_lints.dart +++ b/packages/neon_lints/bin/neon_lints.dart @@ -27,10 +27,7 @@ const disabledRules = [ /// Rules that won't be added to the list. /// /// This is needed for rules not yet available in the current dart version. -const excludedRules = [ - 'no_self_assignments', - 'no_wildcard_variable_uses', -]; +const excludedRules = []; /// Commit hash to use to fetch the rules from upstream const commitHash = '7f40f11'; diff --git a/packages/neon_lints/lib/dart.yaml b/packages/neon_lints/lib/dart.yaml index 881999a4..76b61b44 100644 --- a/packages/neon_lints/lib/dart.yaml +++ b/packages/neon_lints/lib/dart.yaml @@ -105,6 +105,8 @@ linter: no_literal_bool_comparisons: true no_logic_in_create_state: true no_runtimeType_toString: true + no_self_assignments: true + no_wildcard_variable_uses: true non_constant_identifier_names: true noop_primitive_operations: true null_check_on_nullable_type_parameter: true