analysis_options.yaml 473 Bytes
Newer Older
1 2 3 4 5 6 7
# Use the parent analysis options settings and enable null-experiment.

include: ../analysis_options.yaml

analyzer:
  enable-experiment:
    - non-nullable
8 9 10 11
  errors:
    always_require_non_null_named_parameters: false # not needed with nnbd
    void_checks: false # https://github.com/dart-lang/linter/issues/2185
    unnecessary_null_comparison: false # https://github.com/dart-lang/language/issues/1018 , turned off until https://github.com/flutter/flutter/issues/61042