diff options
| author | xengineering <me@xengineering.eu> | 2026-01-03 10:51:54 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-01-03 10:51:54 +0100 |
| commit | 32583ee93f00a878b99c55ab7e4a11fb4c099f75 (patch) | |
| tree | b38bed89d7999c2ae324f71414262321b41488fa /analysis_options.yaml | |
| parent | 70c0e2bdcee9414d242db96c65100d9498dba39f (diff) | |
| download | sia-app-32583ee93f00a878b99c55ab7e4a11fb4c099f75.tar sia-app-32583ee93f00a878b99c55ab7e4a11fb4c099f75.tar.zst sia-app-32583ee93f00a878b99c55ab7e4a11fb4c099f75.zip | |
Make analysis_options.yaml more strict
This should help writing good flutter / Dart code from the beginning.
Diffstat (limited to 'analysis_options.yaml')
| -rw-r--r-- | analysis_options.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
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 |
