Skip to content

Commit 88d113b

Browse files
authored
Require Dart 3.0, update lints (dart-archive/term_glyph#39)
1 parent ebdfcfa commit 88d113b

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

pkgs/term_glyph/.github/workflows/test-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
matrix:
4848
# Add macos-latest and/or windows-latest if relevant for this package.
4949
os: [ubuntu-latest]
50-
sdk: [2.17.0, dev]
50+
sdk: [3.0.0, dev]
5151
steps:
5252
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
5353
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f

pkgs/term_glyph/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## 1.2.2-dev
1+
## 1.2.2-wip
22

3-
* Require Dart 2.17
3+
* Require Dart 3.0
44

55
## 1.2.1
66

pkgs/term_glyph/analysis_options.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# https://dart.dev/guides/language/analysis-options
12
include: package:dart_flutter_team_lints/analysis_options.yaml
23

34
analyzer:
@@ -18,10 +19,8 @@ linter:
1819
- avoid_unused_constructor_parameters
1920
- avoid_void_async
2021
- cancel_subscriptions
21-
#- cascade_invocations
2222
- comment_references
2323
- join_return_with_assignment
24-
#- lines_longer_than_80_chars
2524
- literal_only_boolean_expressions
2625
- missing_whitespace_between_adjacent_strings
2726
- no_adjacent_strings_in_list
@@ -34,4 +33,8 @@ linter:
3433
- prefer_relative_imports
3534
- test_types_in_equals
3635
- unnecessary_await_in_return
36+
- unnecessary_breaks
37+
- use_if_null_to_convert_nulls_to_bools
38+
- use_raw_strings
3739
- use_string_buffers
40+
- use_super_parameters

pkgs/term_glyph/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: term_glyph
2-
version: 1.2.2-dev
2+
version: 1.2.2-wip
33
description: Useful Unicode glyphs and ASCII substitutes.
44
repository: https://github.com/dart-lang/term_glyph
55

66
environment:
7-
sdk: ">=2.17.0 <3.0.0"
7+
sdk: ^3.0.0
88

99
dev_dependencies:
1010
csv: ^5.0.0
11-
dart_flutter_team_lints: ^0.1.0
11+
dart_flutter_team_lints: ^1.0.0
1212
dart_style: ^2.0.0
1313
test: ^1.16.0

0 commit comments

Comments
 (0)