Skip to content

Commit

Permalink
Merge pull request #3840 from rrousselGit:lint
Browse files Browse the repository at this point in the history
Lint
  • Loading branch information
rrousselGit authored Nov 18, 2024
2 parents e7e06f8 + 9ecd5ea commit 288c9b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ analyzer:
included_file_warning: ignore
# false positive when using Freezed
invalid_annotation_target: ignore
# I prefer specifying a parameter on a widget even if they are unused (such as Key)
# for the sake of consistency.
unused_element_parameter: false

linter:
rules:
Expand Down
3 changes: 3 additions & 0 deletions examples/marvel/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ analyzer:
errors:
# Some assets are voluntarily gitignored
asset_does_not_exist: ignore
# I prefer specifying a parameter on a widget even if they are unused (such as Key)
# for the sake of consistency.
unused_element_parameter: false

0 comments on commit 288c9b5

Please sign in to comment.