mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
style: stricter linting
This commit is contained in:
parent
ae5d895957
commit
7148fbf194
8 changed files with 15 additions and 9 deletions
|
@ -23,6 +23,7 @@ linter:
|
|||
- avoid_setters_without_getters
|
||||
- avoid_slow_async_io
|
||||
- avoid_type_to_string
|
||||
- avoid_unused_constructor_parameters
|
||||
- avoid_void_async
|
||||
- cast_nullable_to_non_nullable
|
||||
- directives_ordering
|
||||
|
@ -32,6 +33,7 @@ linter:
|
|||
- lines_longer_than_80_chars
|
||||
- missing_whitespace_between_adjacent_strings
|
||||
- noop_primitive_operations
|
||||
- omit_local_variable_types
|
||||
- parameter_assignments
|
||||
- prefer_const_constructors
|
||||
- prefer_constructors_over_static_methods
|
||||
|
@ -41,10 +43,11 @@ linter:
|
|||
- prefer_null_aware_method_calls
|
||||
- require_trailing_commas
|
||||
- sort_constructors_first
|
||||
- sort_pub_dependencies
|
||||
- sort_unnamed_constructors_first
|
||||
- type_annotate_public_apis
|
||||
- unawaited_futures
|
||||
- use_named_constants
|
||||
- use_raw_strings
|
||||
- use_setters_to_change_properties
|
||||
- use_string_buffers
|
||||
- sort_unnamed_constructors_first
|
||||
- sort_pub_dependencies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue