| # Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file | |
| # for details. All rights reserved. Use of this source code is governed by a | |
| # BSD-style license that can be found in the LICENSE file. | |
| include: package:dart_flutter_team_lints/analysis_options.yaml | |
| analyzer: | |
| exclude: | |
| - 'test/**_expected*' | |
| # Exclude anything that uses package:objective_c, due to flutter dependency. | |
| # https://github.com/dart-lang/native/issues/1068 | |
| - test_flutter/native_objc_test/** | |
| - test/native_objc_test/** | |
| language: | |
| strict-raw-types: true | |
| linter: | |
| rules: | |
| prefer_final_locals: true | |
| prefer_final_in_for_each: true | |
| unawaited_futures: true | |
| discarded_futures: true |