Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Require Dart 3.0, update lints #39

Merged
merged 1 commit into from
Jun 8, 2023
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 .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
matrix:
# Add macos-latest and/or windows-latest if relevant for this package.
os: [ubuntu-latest]
sdk: [2.17.0, dev]
sdk: [3.0.0, dev]
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 1.2.2-dev
## 1.2.2-wip

* Require Dart 2.17
* Require Dart 3.0

## 1.2.1

Expand Down
7 changes: 5 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# https://dart.dev/guides/language/analysis-options
include: package:dart_flutter_team_lints/analysis_options.yaml

analyzer:
Expand All @@ -18,10 +19,8 @@ linter:
- avoid_unused_constructor_parameters
- avoid_void_async
- cancel_subscriptions
#- cascade_invocations
- comment_references
- join_return_with_assignment
#- lines_longer_than_80_chars
- literal_only_boolean_expressions
- missing_whitespace_between_adjacent_strings
- no_adjacent_strings_in_list
Expand All @@ -34,4 +33,8 @@ linter:
- prefer_relative_imports
- test_types_in_equals
- unnecessary_await_in_return
- unnecessary_breaks
- use_if_null_to_convert_nulls_to_bools
- use_raw_strings
- use_string_buffers
- use_super_parameters
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: term_glyph
version: 1.2.2-dev
version: 1.2.2-wip
description: Useful Unicode glyphs and ASCII substitutes.
repository: https://github.com/dart-lang/term_glyph

environment:
sdk: ">=2.17.0 <3.0.0"
sdk: ^3.0.0

dev_dependencies:
csv: ^5.0.0
dart_flutter_team_lints: ^0.1.0
dart_flutter_team_lints: ^1.0.0
dart_style: ^2.0.0
test: ^1.16.0