From 9ecd5eaf9e44a0797fb3c4a0d418f48f94e4903b Mon Sep 17 00:00:00 2001 From: Remi Rousselet Date: Mon, 18 Nov 2024 22:23:42 +0100 Subject: [PATCH] Lint --- analysis_options.yaml | 3 +++ examples/marvel/analysis_options.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/analysis_options.yaml b/analysis_options.yaml index c24ef9e35..4905ebee9 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -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: diff --git a/examples/marvel/analysis_options.yaml b/examples/marvel/analysis_options.yaml index fd37ac1ff..611834f1a 100644 --- a/examples/marvel/analysis_options.yaml +++ b/examples/marvel/analysis_options.yaml @@ -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 \ No newline at end of file