use package:lints; update changelog
diff --git a/CHANGELOG.md b/CHANGELOG.md index bb0f5ab..0395858 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,3 +1,8 @@ +## 0.2.1-dev + +- Use package:lints for analysis. +- Populate the pubspec `repository` field. + ## 0.2.0 - Stable null safety release.
diff --git a/analysis_options.yaml b/analysis_options.yaml index 180004e..31466c3 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml
@@ -1,4 +1,4 @@ -analyzer: +include: package:lints/core.yaml linter: rules:
diff --git a/lib/test_reflective_loader.dart b/lib/test_reflective_loader.dart index fe78b9d..e03eb7a 100644 --- a/lib/test_reflective_loader.dart +++ b/lib/test_reflective_loader.dart
@@ -278,7 +278,7 @@ .whenComplete(() => _invokeSymbolIfExists(instanceMirror, #tearDown)); } -typedef dynamic _TestFunction(); +typedef _TestFunction = dynamic Function(); /** * A marker annotation used to annotate test methods which are expected to fail.
diff --git a/pubspec.yaml b/pubspec.yaml index 29eaf2c..51cb753 100644 --- a/pubspec.yaml +++ b/pubspec.yaml
@@ -1,5 +1,5 @@ name: test_reflective_loader -version: 0.2.0 +version: 0.2.1-dev description: Support for discovering tests and test suites using reflection. repository: https://github.com/dart-lang/test_reflective_loader @@ -7,4 +7,5 @@ sdk: '>=2.12.0 <3.0.0' dependencies: + lints: ^1.0.0 test: '>=1.16.0 <2.0.0'
diff --git a/test/test_reflective_loader_test.dart b/test/test_reflective_loader_test.dart index 2c69cce..d303a75 100644 --- a/test/test_reflective_loader_test.dart +++ b/test/test_reflective_loader_test.dart
@@ -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: non_constant_identifier_names + import 'dart:async'; import 'package:test/test.dart';