Skip to content

Commit

Permalink
Bump to latest pkg:lints, require Dart 2.17 or greater (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Sep 13, 2022
1 parent 2a782b9 commit 2e91cc9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -42,7 +42,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
sdk: [2.12.3, dev]
sdk: [2.17.0, dev]
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1.3
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
## 3.0.1-dev

- Require Dart >= 2.17.0

## 3.0.0

- `expectBuildClean` is now async. (Returns `Future<void>` instead of `void`.)
Expand Down
3 changes: 1 addition & 2 deletions analysis_options.yaml
Expand Up @@ -33,7 +33,6 @@ linter:
- prefer_const_declarations
- prefer_expression_function_bodies
- prefer_final_locals
- prefer_interpolation_to_compose_strings
- prefer_relative_imports
- prefer_single_quotes
- require_trailing_commas
Expand All @@ -44,8 +43,8 @@ linter:
- unawaited_futures
- unnecessary_await_in_return
- unnecessary_lambdas
- unnecessary_null_aware_assignments
- unnecessary_parenthesis
- unnecessary_statements
- use_is_even_rather_than_modulo
- use_string_buffers
- use_super_parameters
2 changes: 1 addition & 1 deletion lib/src/version.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pubspec.yaml
Expand Up @@ -2,11 +2,11 @@ name: build_verify
description: >-
Test utility to ensure generated Dart code within a package is up-to-date
when using package:build.
version: 3.0.0
version: 3.0.1-dev
repository: https://github.com/kevmoo/build_verify

environment:
sdk: '>=2.12.3 <3.0.0'
sdk: '>=2.17.0 <3.0.0'

dependencies:
io: ^1.0.0
Expand All @@ -18,6 +18,6 @@ dev_dependencies:
build_runner: ^2.0.0
build_version: ^2.0.0
git: ^2.0.0
lints: ^1.0.0
lints: ^2.0.0
test_descriptor: ^2.0.0
test_process: ^2.0.0

0 comments on commit 2e91cc9

Please sign in to comment.