From 26043c95cf6bb8c509ba670111426dfc87e4f6c7 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Mon, 18 Apr 2022 22:09:50 +0000 Subject: [PATCH] Move pkg/scrape to package:lints. Change-Id: I56eb8d0410ab529a434c540a67028f8ebe441c4d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/240913 Reviewed-by: Bob Nystrom Commit-Queue: Devon Carew --- pkg/scrape/analysis_options.yaml | 3 ++- pkg/scrape/lib/scrape.dart | 3 +++ pkg/scrape/pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pkg/scrape/analysis_options.yaml b/pkg/scrape/analysis_options.yaml index f6dcda64cc4..53d95cbe48c 100644 --- a/pkg/scrape/analysis_options.yaml +++ b/pkg/scrape/analysis_options.yaml @@ -1,4 +1,5 @@ -include: package:pedantic/analysis_options.yaml +include: package:lints/recommended.yaml + analyzer: strong-mode: implicit-casts: false diff --git a/pkg/scrape/lib/scrape.dart b/pkg/scrape/lib/scrape.dart index f6c9989e8f7..9c3ab90f9b6 100644 --- a/pkg/scrape/lib/scrape.dart +++ b/pkg/scrape/lib/scrape.dart @@ -1,6 +1,9 @@ // Copyright (c) 2020, 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. + +// ignore_for_file: implementation_imports + import 'dart:io'; import 'dart:math' as math; diff --git a/pkg/scrape/pubspec.yaml b/pkg/scrape/pubspec.yaml index c25012392ba..d540ce10f86 100644 --- a/pkg/scrape/pubspec.yaml +++ b/pkg/scrape/pubspec.yaml @@ -13,4 +13,4 @@ dependencies: path: ^1.7.0 dev_dependencies: - pedantic: ^1.9.2 + lints: any