Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lints, bump min SDK to ^3.1.0 #56

Merged
merged 1 commit into from
Dec 1, 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
14 changes: 4 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,16 @@ jobs:
strategy:
fail-fast: false
matrix:
sdk: [dev, stable]
sdk: [dev, 3.1]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: ${{ matrix.sdk }}

- name: pub get
run: dart pub get

- run: dart pub get
- name: dart format
run: dart format --output=none --set-exit-if-changed .

- name: dart analyze
run: dart analyze

- name: dart test
run: dart test
- run: dart analyze --fatal-infos
- run: dart test
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.3-wip

- Require Dart `^3.1.0`.

## 0.2.2

- Update to package:lints 2.0.0 and move it to a dev dependency.
Expand Down
8 changes: 1 addition & 7 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
include: package:lints/recommended.yaml

analyzer:
errors:
slash_for_doc_comments: ignore
include: package:dart_flutter_team_lints/analysis_options.yaml

linter:
rules:
- always_declare_return_types
- directives_ordering
- public_member_api_docs
Loading