diff options
| author | xengineering <me@xengineering.eu> | 2026-09-22 19:09:56 +0200 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-09-22 19:09:56 +0200 |
| commit | 479af1a5481c60d78ee140d0849d4ee4322e86c8 (patch) | |
| tree | 18790f975908bf2e3f1cdef92de99f0dbb50f9d1 | |
| parent | 8510784e4c0fa7a1b59225531569ad8759fd065e (diff) | |
| download | ceres-479af1a5481c60d78ee140d0849d4ee4322e86c8.tar ceres-479af1a5481c60d78ee140d0849d4ee4322e86c8.tar.zst ceres-479af1a5481c60d78ee140d0849d4ee4322e86c8.zip | |
view: dart: Update analysis_options.yaml
This configures linting to support writing good Dart code.
| -rw-r--r-- | view/dart/analysis_options.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
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 |
