diff --git a/analysis_options.yaml b/analysis_options.yaml index 1acfa24..c3331f7 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,10 +1,10 @@ -include: package:pedantic/analysis_options.yaml +include: package:lints/recommended.yaml analyzer: # exclude: # - path/to/excluded/files/** -# Lint rules and documentation, see http://dart-lang.github.io/linter/lints +# Lint rules and documentation, see https://dart.dev/tools/linter-rules linter: rules: - cancel_subscriptions diff --git a/lib/spotify.dart b/lib/spotify.dart index ac862f4..b91542f 100644 --- a/lib/spotify.dart +++ b/lib/spotify.dart @@ -9,7 +9,6 @@ import 'dart:convert'; import 'package:http/http.dart' as http; import 'package:oauth2/oauth2.dart' as oauth2; -import 'package:pedantic/pedantic.dart'; import 'package:spotify/spotify.dart'; import 'src/models/_models.dart'; diff --git a/lib/src/models/_models.g.dart b/lib/src/models/_models.g.dart index 48dd474..3ed040a 100644 --- a/lib/src/models/_models.g.dart +++ b/lib/src/models/_models.g.dart @@ -1,6 +1,6 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -part of spotify.models; +part of '_models.dart'; // ************************************************************************** // JsonSerializableGenerator diff --git a/pubspec.yaml b/pubspec.yaml index 6ef9bee..237e14b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,18 +1,18 @@ name: spotify description: An incomplete dart library for interfacing with the Spotify Web API. -version: 0.11.0 +version: 0.12.0 homepage: https://github.com/rinukkusu/spotify-dart environment: - sdk: '>=2.18.0 <3.0.0' + sdk: '>=2.18.0 <4.0.0' dependencies: - http: ^0.13.3 - json_annotation: ^4.8.0 + http: ^1.1.0 + json_annotation: ^4.8.1 oauth2: ^2.0.0 - pedantic: ^1.11.0 dev_dependencies: - test: ^1.16.5 - build_runner: ^2.0.3 - json_serializable: ">=4.1.1 <7.0.0" + lints: ^2.1.1 + test: ^1.24.6 + build_runner: ^2.4.6 + json_serializable: ">=6.7.1 <7.0.0"