From 32583ee93f00a878b99c55ab7e4a11fb4c099f75 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 3 Jan 2026 10:51:54 +0100 Subject: Make analysis_options.yaml more strict This should help writing good flutter / Dart code from the beginning. --- analysis_options.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'analysis_options.yaml') diff --git a/analysis_options.yaml b/analysis_options.yaml index f9b3034..c8ed5db 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1 +1,10 @@ include: package:flutter_lints/flutter.yaml + +linter: + rules: + always_specify_types: true + avoid_print: true + prefer_const_constructors: true + prefer_final_fields: true + avoid_dynamic_calls: true + unnecessary_null_checks: true -- cgit v1.2.3-70-g09d2