From 479af1a5481c60d78ee140d0849d4ee4322e86c8 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 22 Sep 2026 19:09:56 +0200 Subject: view: dart: Update analysis_options.yaml This configures linting to support writing good Dart code. --- view/dart/analysis_options.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 view/dart/analysis_options.yaml (limited to 'view/dart') diff --git a/view/dart/analysis_options.yaml b/view/dart/analysis_options.yaml new file mode 100644 index 0000000..d00b2c5 --- /dev/null +++ b/view/dart/analysis_options.yaml @@ -0,0 +1,9 @@ +linter: + rules: + always_specify_types: true + prefer_const_constructors: true + prefer_final_fields: true + avoid_dynamic_calls: true + unnecessary_null_checks: true + unawaited_futures: true + discarded_futures: true -- cgit v1.3.1