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

Commit ecbffa9

Browse files
authored
Use latest lints, require Dart 2.19 or later (#524)
1 parent 4befe66 commit ecbffa9

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

.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: [2.19.0, dev]
5151
steps:
5252
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
5353
- uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## 7.0.2-dev
22

3+
* Require Dart 2.19
34
* Fix an issue in `HeaderWithIdSyntax`, do not generate heading IDs for headings
45
with no content.
56

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ executables:
99
markdown:
1010

1111
environment:
12-
sdk: '>=2.17.0 <3.0.0'
12+
sdk: '>=2.19.0 <3.0.0'
1313

1414
dependencies:
1515
args: ^2.0.0
@@ -20,7 +20,7 @@ dev_dependencies:
2020
build_version: ^2.0.3
2121
build_web_compilers: '>=3.0.0 <5.0.0'
2222
collection: ^1.15.0
23-
dart_flutter_team_lints: ^0.1.0
23+
dart_flutter_team_lints: ^1.0.0
2424
html: ^0.15.0
2525
http: ^0.13.5
2626
io: ^1.0.0

test/markdown_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6+
library;
67

78
import 'package:markdown/markdown.dart';
89
import 'package:test/test.dart';

test/version_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6+
library;
67

78
import 'dart:io';
89

0 commit comments

Comments
 (0)