Browse Source

chore(neon_lints): update rules against dart 3.2

Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
pull/1146/head
Nikolas Rimikis 1 year ago
parent
commit
461077bb11
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 3
      packages/neon_lints/lib/src/base.yaml

3
packages/neon_lints/lib/src/base.yaml

@ -7,7 +7,7 @@ analyzer:
flutter_style_todos: ignore flutter_style_todos: ignore
todo: ignore todo: ignore
exclude: exclude:
- '**.g.dart' - "**.g.dart"
linter: linter:
rules: rules:
always_declare_return_types: true always_declare_return_types: true
@ -16,6 +16,7 @@ linter:
always_specify_types: false always_specify_types: false
always_use_package_imports: true always_use_package_imports: true
annotate_overrides: true annotate_overrides: true
annotate_redeclares: true
avoid_annotating_with_dynamic: false avoid_annotating_with_dynamic: false
avoid_bool_literals_in_conditional_expressions: true avoid_bool_literals_in_conditional_expressions: true
avoid_catches_without_on_clauses: false avoid_catches_without_on_clauses: false

Loading…
Cancel
Save