Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ task:
- echo "$CIRRUS_CHANGE_MESSAGE" > "$CHANGE_DESC"
- ./script/tool_runner.sh version-check --check-for-missing-changes --change-description-file="$CHANGE_DESC"
- fi
publishable_script: ./script/tool_runner.sh publish-check
publishable_script: ./script/tool_runner.sh publish-check --allow-pre-release
depends_on:
- format+analyze
- name: test
Expand Down
18 changes: 18 additions & 0 deletions packages/flutter_lints/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 2.0.0

* Added the following lints:
* `sort_child_properties_last`
* `use_build_context_synchronously`
* Updated `package:lints` dependency to version 2.0.0, which added the following lints:
* `depend_on_referenced_packages`
* `library_private_types_in_public_api`
* `no_leading_underscores_for_library_prefixes`
* `no_leading_underscores_for_local_identifiers`
* `null_check_on_nullable_type_parameter`
* `prefer_interpolation_to_compose_strings`
* `unnecessary_constructor_name`
* `unnecessary_late`
* `unnecessary_null_aware_assignments`
* `unnecessary_nullable_for_final_variable_declarations`
* Bumped the minimum required Dart SDK version to 2.17

## 1.0.4

* Small update to readme
Expand Down
2 changes: 2 additions & 0 deletions packages/flutter_lints/lib/flutter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ linter:
- prefer_const_declarations
- prefer_const_literals_to_create_immutables
- sized_box_for_whitespace
- sort_child_properties_last
- use_build_context_synchronously
- use_full_hex_values_for_flutter_colors
- use_key_in_widget_constructors
6 changes: 3 additions & 3 deletions packages/flutter_lints/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: flutter_lints
description: Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.
repository: https://github.com/flutter/packages/tree/main/packages/flutter_lints
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_lints%22
version: 1.0.4
version: 2.0.0

environment:
sdk: '>=2.12.0 <3.0.0'
sdk: '>=2.17.0-0 <3.0.0'

dependencies:
lints: ^1.0.0
lints: ^2.0.0
# Code is not allowed in this package. Do not add any dependencies or dev_dependencies.