Skip to content

Commit

Permalink
Release 3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
a-abramov authored and w3ggy committed Mar 19, 2024
1 parent ccd382a commit 1bc4084
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: flutter-actions/setup-flutter@v2
with:
channel: stable
version: 3.13.5
version: 3.19.3

- name: Install dependencies
run: flutter pub get
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [3.0.3]

- Removed unsupported rules
- Updated `flutter_lints` to 3.0.1

## [3.0.2]

- Removed `use_decorated_box` due to false-positive
Expand Down
6 changes: 3 additions & 3 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
// analyzed using the rules activated in `analysis_options.yaml`.

// The following syntax deactivates a lint for the entire file:
// ignore_for_file: avoid_renaming_method_parameters
// ignore_for_file: avoid_renaming_method_parameters, unreachable_from_main

void main() {
const String partOne = 'Hello';
const String partTwo = 'World';
const partOne = 'Hello';
const partTwo = 'World';

// The following syntax deactivates a lint on a per-line bases:
print('$partOne $partTwo'); // ignore: avoid_print
Expand Down
10 changes: 5 additions & 5 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ packages:
path: ".."
relative: true
source: path
version: "3.0.2"
version: "3.0.3"
flutter_lints:
dependency: transitive
description:
name: flutter_lints
sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
sha256: e2a421b7e59244faef694ba7b30562e489c2b489866e505074eb005cd7060db7
url: "https://pub.dev"
source: hosted
version: "2.0.3"
version: "3.0.1"
lints:
dependency: transitive
description:
name: lints
sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593"
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
url: "https://pub.dev"
source: hosted
version: "2.0.1"
version: "3.0.0"
sdks:
dart: ">=3.0.0 <4.0.0"
2 changes: 0 additions & 2 deletions lib/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ linter:
- always_declare_return_types
- always_put_control_body_on_new_line
- always_put_required_named_parameters_first
- always_require_non_null_named_parameters
- annotate_overrides
- avoid_bool_literals_in_conditional_expressions
- avoid_catching_errors
Expand Down Expand Up @@ -234,7 +233,6 @@ linter:
- secure_pubspec_urls
- sort_pub_dependencies

- avoid_returning_null_for_future
- collection_methods_unrelated_type
- combinators_ordering
- dangling_library_doc_comments
Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ packages:
dependency: "direct main"
description:
name: flutter_lints
sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
sha256: e2a421b7e59244faef694ba7b30562e489c2b489866e505074eb005cd7060db7
url: "https://pub.dev"
source: hosted
version: "2.0.3"
version: "3.0.1"
lints:
dependency: transitive
description:
name: lints
sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593"
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
url: "https://pub.dev"
source: hosted
version: "2.0.1"
version: "3.0.0"
sdks:
dart: ">=3.0.0 <4.0.0"
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: dash_kit_lints
description: The custom set of lint rules based on the package:flutter_lints
version: 3.0.2
version: 3.0.3
repository: https://github.com/Dash-Kit/dash-kit-lints

environment:
sdk: '>=3.0.0 <4.0.0'

dependencies:
flutter_lints: ^2.0.3
flutter_lints: ^3.0.1
# Code is not allowed in this package. Do not add any dependencies or dev_dependencies.

0 comments on commit 1bc4084

Please sign in to comment.