From 693d586375719130463ee5e8207b73e7871abcec Mon Sep 17 00:00:00 2001 From: Jonas Siedentop Date: Wed, 31 Jan 2024 12:09:37 +0100 Subject: [PATCH] Remove dartclub linter, update dependencies (#11) --- CHANGELOG.md | 3 +++ analysis_options.yaml | 31 +++---------------------------- pubspec.yaml | 16 ++++++++-------- 3 files changed, 14 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 699731c..fa6bae9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.0.3 +- This is solely a quality release, without new functionality. + ## 0.0.2 - Several bugfixes, including fix of reversed and shifted polygon. diff --git a/analysis_options.yaml b/analysis_options.yaml index dee8927..8b150d6 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,30 +1,5 @@ -# This file configures the static analysis results for your project (errors, -# warnings, and lints). -# -# This enables the 'recommended' set of lints from `package:lints`. -# This set helps identify many issues that may lead to problems when running -# or consuming Dart code, and enforces writing Dart using a single, idiomatic -# style and format. -# -# If you want a smaller set of lints you can change this to specify -# 'package:lints/core.yaml'. These are just the most critical lints -# (the recommended set includes the core lints). -# The core lints are also what is used by pub.dev for scoring packages. - include: package:lints/recommended.yaml -# Uncomment the following section to specify additional rules. - -# linter: -# rules: -# - camel_case_types - -# analyzer: -# exclude: -# - path/to/excluded/files/** - -# For more information about the core and recommended set of lints, see -# https://dart.dev/go/core-lints - -# For additional information about configuring this file, see -# https://dart.dev/guides/language/analysis-options +analyzer: + errors: + prefer_generic_function_type_aliases: error \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index e6067b9..3341609 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,18 +1,18 @@ name: turf_equality description: Comparison of two GeoJSON objects, based on the turf pub-package -version: 0.0.2 +version: 0.0.3 repository: https://github.com/dartclub/turf_equality environment: - sdk: ">=2.17.3 <3.0.0" + sdk: ">=2.17.3 <4.0.0" + +dependencies: + turf: ^0.0.8 dev_dependencies: - dartclub_lint: ^0.4.2 + lints: ^3.0.0 test: ^1.19.3 json_serializable: ^6.1.1 build_runner: ^2.1.5 - analyzer: ^2.7.0 - benchmark: ^0.3.0 - -dependencies: - turf: ^0.0.6 + analyzer: ^6.4.0 + benchmark: ^0.3.0 \ No newline at end of file