Files
sdk/pkg/vm_service/test/analysis_options.yaml
T
Ben Konyi 39e60fa3fc [ package:vm_service ] Enable more lints
Change-Id: I1a7548297fa8562ea81f3d4e32db2aba53661189
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335960
Reviewed-by: Derek Xu <derekx@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2023-11-14 21:26:31 +00:00

30 lines
986 B
YAML

# 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