analysis_options.yaml 644 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
  errors:
    always_require_non_null_named_parameters: false # not needed with nnbd
10
    type_init_formals: false # https://github.com/dart-lang/linter/issues/2192
11
    unrelated_type_equality_checks: false # https://github.com/dart-lang/linter/issues/2196
12 13
    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