Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions lib/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ linter:
- use_key_in_widget_constructors
- use_late_for_private_fields_and_variables
- use_named_constants
- use_null_aware_elements
- use_raw_strings
- use_rethrow_when_possible
- use_setters_to_change_properties
Expand Down Expand Up @@ -244,6 +245,14 @@ dart_code_metrics:
- '**/*.graphql.dart'

rules:
- prefer-returning-shorthands
- prefer-shorthands-with-static-fields
- prefer-shorthands-with-enums
- avoid-nested-shorthands
- prefer-shorthands-with-constructors
- newline-before-constructor
- avoid-always-null-parameters
- avoid-unassigned-fields
- avoid-unremovable-callbacks-in-listeners
- avoid-constant-switches
- avoid-constant-conditions
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: theodo_analysis
description: Lint and dcm rules for Dart and Flutter used internally at Theodo Apps.
version: 1.8.0
version: 1.9.0
homepage: https://github.com/bamlab/theodo_analysis
repository: https://github.com/bamlab/theodo_analysis

Expand Down
Loading