[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:
Devon Carew 2022-07-06 22:24:20 +00:00 committed by Commit Bot
parent 1044c64347
commit 580597c2eb
3 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1 @@
include: package:lints/recommended.yaml

View file

@ -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.
///

View file

@ -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