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

Commit 6edf535

Browse files
authored
Update lints, bump min SDK to ^3.1.0 (#56)
1 parent 17d40bb commit 6edf535

File tree

6 files changed

+100
-146
lines changed

6 files changed

+100
-146
lines changed

.github/workflows/build.yaml

+4-10
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,16 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
sdk: [dev, stable]
21+
sdk: [dev, 3.1]
2222

2323
steps:
2424
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
2525
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
2626
with:
2727
sdk: ${{ matrix.sdk }}
2828

29-
- name: pub get
30-
run: dart pub get
31-
29+
- run: dart pub get
3230
- name: dart format
3331
run: dart format --output=none --set-exit-if-changed .
34-
35-
- name: dart analyze
36-
run: dart analyze
37-
38-
- name: dart test
39-
run: dart test
32+
- run: dart analyze --fatal-infos
33+
- run: dart test

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.3-wip
2+
3+
- Require Dart `^3.1.0`.
4+
15
## 0.2.2
26

37
- Update to package:lints 2.0.0 and move it to a dev dependency.

analysis_options.yaml

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
include: package:lints/recommended.yaml
2-
3-
analyzer:
4-
errors:
5-
slash_for_doc_comments: ignore
1+
include: package:dart_flutter_team_lints/analysis_options.yaml
62

73
linter:
84
rules:
9-
- always_declare_return_types
10-
- directives_ordering
115
- public_member_api_docs

0 commit comments

Comments
 (0)