| # Copyright (c) 2023, 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. |
| |
| # This options file exists to reset the settings from the parent directory. |
| # It also excludes tests which use experimental language features which |
| # are not fully supported in the analyzer. |
| |
| include: ../analysis_options.yaml |
| |
| analyzer: |
| exclude: |
| - patterns_local_vars_test.dart |
| |
| linter: |
| rules: |
| always_declare_return_types: true |
| avoid_escaping_inner_quotes: true |
| avoid_void_async: true |
| cancel_subscriptions: true |
| close_sinks: true |
| constant_identifier_names: false # Disabled for LINE_N style constants in tests |
| directives_ordering: true |
| no_adjacent_strings_in_list: true |
| prefer_final_locals: true |
| prefer_void_to_null: true |
| require_trailing_commas: true |
| unnecessary_parenthesis: true |
| unnecessary_raw_strings: true |