From 3f6b335048618920cebc0f5e4f99e3d18f5e8462 Mon Sep 17 00:00:00 2001 From: Lukas Renggli Date: Fri, 22 Sep 2023 18:46:35 +0300 Subject: [PATCH] Add some more strict linter rules --- analysis_options.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/analysis_options.yaml b/analysis_options.yaml index 2946a54d..15397a5d 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -10,6 +10,10 @@ linter: - avoid_final_parameters - avoid_print - camel_case_types + - implicit_call_tearoffs + - invalid_case_patterns + - no_self_assignments + - no_wildcard_variable_uses - omit_local_variable_types - prefer_const_constructors - prefer_const_constructors_in_immutables @@ -18,6 +22,10 @@ linter: - prefer_function_declarations_over_variables - prefer_relative_imports - sort_constructors_first + - type_literal_in_constant_pattern + - unnecessary_breaks - unnecessary_late + - unnecessary_library_directive - unnecessary_statements + - unreachable_from_main - use_super_parameters \ No newline at end of file