mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 22:31:50 +00:00
499815842c
Previously such shared code was in the front_end package, but that created problems because there is a lot of code in front_end that isn't intended to be shared with the analyzer (including, notably, the dependency on kernel). This CL just moves over the flow_analysis logic to the new shared package. Follow-up CLs will move over other shared logic and tests. The end goal is that the analyzer package will no longer have a dependency on front_end. Change-Id: I5642d6565204422d79808ca47648462db85e442a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123624 Reviewed-by: Jens Johansen <jensj@google.com>
21 lines
632 B
YAML
21 lines
632 B
YAML
# Copyright (c) 2019, 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: analysis_options_no_lints.yaml
|
|
|
|
linter:
|
|
rules:
|
|
- curly_braces_in_flow_control_structures
|
|
- prefer_adjacent_string_concatenation
|
|
- unawaited_futures
|
|
- recursive_getters
|
|
- avoid_empty_else
|
|
- empty_statements
|
|
- list_remove_unrelated_type
|
|
- iterable_contains_unrelated_type
|
|
- valid_regexps
|
|
- package_api_docs
|
|
- lines_longer_than_80_chars
|
|
# - always_specify_types
|