blob: 86dfe9e2e2835bb325e496d0c3407d4bc0b3b11f [file] [log] [blame] [edit]
# 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
- example/objective_c/**
- example/swift/**
- 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