Skip to content

Commit

Permalink
Add some more strict linter rules
Browse files Browse the repository at this point in the history
  • Loading branch information
renggli committed Sep 22, 2023
1 parent e9b5612 commit 3f6b335
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 3f6b335

Please sign in to comment.