mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 21:50:11 +00:00
[pkg/meta] analyze using package:lints
Change-Id: Ie490a992eac0f8b6e784346c67c8c297e9d1d034 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250773 Commit-Queue: Devon Carew <devoncarew@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
parent
1044c64347
commit
580597c2eb
1
pkg/meta/analysis_options.yaml
Normal file
1
pkg/meta/analysis_options.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
include: package:lints/recommended.yaml
|
|
@ -2,6 +2,8 @@
|
|||
// 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.
|
||||
|
||||
// ignore_for_file: library_private_types_in_public_api
|
||||
|
||||
/// Annotations that developers can use to express the intentions that otherwise
|
||||
/// can't be deduced by statically analyzing the source code.
|
||||
///
|
||||
|
|
|
@ -8,3 +8,10 @@ repository: https://github.com/dart-lang/sdk/tree/main/pkg/meta
|
|||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
|
||||
# We use 'any' version constraints here as we get our package versions from
|
||||
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the
|
||||
# best practice for packages is to specify their compatible version ranges.
|
||||
# See also https://dart.dev/tools/pub/dependencies.
|
||||
dev_dependencies:
|
||||
lints: any
|
||||
|
|
Loading…
Reference in a new issue