From e538147d76cf9cf8bd78958a5ebfae244649b83f Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 24 Jun 2024 13:22:22 -0700 Subject: [PATCH 1/2] update lints --- pkgs/http_profile/pubspec.yaml | 2 +- pkgs/ok_http/example/analysis_options.yaml | 2 +- pkgs/ok_http/example/pubspec.yaml | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/http_profile/pubspec.yaml b/pkgs/http_profile/pubspec.yaml index b908d2c22d..d55dc32260 100644 --- a/pkgs/http_profile/pubspec.yaml +++ b/pkgs/http_profile/pubspec.yaml @@ -9,5 +9,5 @@ environment: sdk: ^3.4.0 dev_dependencies: - dart_flutter_team_lints: ^2.1.1 + dart_flutter_team_lints: ^3.0.0 test: ^1.24.9 diff --git a/pkgs/ok_http/example/analysis_options.yaml b/pkgs/ok_http/example/analysis_options.yaml index 4b9d682f82..454652ff22 100644 --- a/pkgs/ok_http/example/analysis_options.yaml +++ b/pkgs/ok_http/example/analysis_options.yaml @@ -7,7 +7,7 @@ # The following line activates a set of recommended lints for Flutter apps, # packages, and plugins designed to encourage good coding practices. -include: package:flutter_lints/flutter.yaml +include: package:dart_flutter_team_lints/analysis_options.yaml linter: # The lint rules applied to this project can be customized in the diff --git a/pkgs/ok_http/example/pubspec.yaml b/pkgs/ok_http/example/pubspec.yaml index d452975f20..313cd2bbda 100644 --- a/pkgs/ok_http/example/pubspec.yaml +++ b/pkgs/ok_http/example/pubspec.yaml @@ -8,19 +8,19 @@ environment: sdk: ">=3.4.1 <4.0.0" dependencies: + cupertino_icons: ^1.0.6 flutter: sdk: flutter - ok_http: - path: ../ - cupertino_icons: ^1.0.6 http: ^1.0.0 http_image_provider: ^0.0.2 + ok_http: + path: ../ provider: ^6.1.1 dev_dependencies: + dart_flutter_team_lints: ^3.0.0 flutter_test: sdk: flutter - flutter_lints: ^3.0.0 http_client_conformance_tests: path: ../../http_client_conformance_tests/ http_profile: ^0.1.0 From 286d0108e66023614dc9675703f06c3e6782f4b7 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 24 Jun 2024 13:48:31 -0700 Subject: [PATCH 2/2] oops --- pkgs/web_socket/lib/src/web_socket.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/web_socket/lib/src/web_socket.dart b/pkgs/web_socket/lib/src/web_socket.dart index 9894f26a36..255c6e6c6d 100644 --- a/pkgs/web_socket/lib/src/web_socket.dart +++ b/pkgs/web_socket/lib/src/web_socket.dart @@ -169,8 +169,8 @@ abstract interface class WebSocket { /// /// - A close frame was received from the peer. [CloseReceived.code] and /// [CloseReceived.reason] will be set by the peer. - /// - A failure occurred (e.g. the peer disconnected). [CloseReceived.code] and - /// [CloseReceived.reason] will be a failure code defined by + /// - A failure occurred (e.g. the peer disconnected). [CloseReceived.code] + /// and [CloseReceived.reason] will be a failure code defined by /// (RFC-6455)[https://www.rfc-editor.org/rfc/rfc6455.html#section-7.4.1] /// (e.g. 1006). ///