Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 99fbdcc

Browse files
authored
Update to latest lints, require Dart 3.2 (#114)
* and prepare to publish
1 parent ca9f059 commit 99fbdcc

File tree

4 files changed

+10
-16
lines changed

4 files changed

+10
-16
lines changed

.github/workflows/test-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest]
19-
sdk: [3.0.0, dev]
19+
sdk: [3.2, dev]
2020
steps:
2121
# These are the latest versions of the github actions; dependabot will
2222
# send PRs to keep these up-to-date.

CHANGELOG.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
## 1.0.5-wip
1+
## 1.0.5
22

3-
* Update video/mp4 mimeType lookup by header bytes.
4-
* Add image/heic mimeType lookup by header bytes.
5-
* Add image/heif mimeType lookup by header bytes.
3+
* Update `video/mp4` mimeType lookup by header bytes.
4+
* Add `image/heic` mimeType lookup by header bytes.
5+
* Add `image/heif` mimeType lookup by header bytes.
66
* Add m4b mimeType lookup by extension.
77
* Add `text/markdown` mimeType lookup by extension.
8-
* Require Dart 3.0.0.
8+
* Require Dart 3.2.0.
99

1010
## 1.0.4
1111

analysis_options.yaml

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# https://dart.dev/guides/language/analysis-options
1+
# https://dart.dev/tools/analysis#the-analysis-options-file
22
include: package:dart_flutter_team_lints/analysis_options.yaml
33

44
analyzer:
@@ -13,28 +13,22 @@ linter:
1313
- avoid_classes_with_only_static_members
1414
- avoid_private_typedef_functions
1515
- avoid_redundant_argument_values
16-
- avoid_returning_null_for_future
1716
- avoid_returning_this
1817
- avoid_unused_constructor_parameters
1918
- avoid_void_async
2019
- cancel_subscriptions
21-
- comment_references
2220
- join_return_with_assignment
2321
- literal_only_boolean_expressions
2422
- missing_whitespace_between_adjacent_strings
2523
- no_adjacent_strings_in_list
2624
- no_runtimeType_toString
2725
- package_api_docs
28-
- prefer_const_constructors
2926
- prefer_const_declarations
3027
- prefer_expression_function_bodies
3128
- prefer_final_locals
32-
- prefer_relative_imports
33-
- test_types_in_equals
3429
- unnecessary_await_in_return
3530
- unnecessary_breaks
3631
- unnecessary_raw_strings
3732
- use_if_null_to_convert_nulls_to_bools
3833
- use_raw_strings
3934
- use_string_buffers
40-
- use_super_parameters

pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: mime
2-
version: 1.0.5-wip
2+
version: 1.0.5
33
description: >-
44
Utilities for handling media (MIME) types, including determining a type from
55
a file extension and file contents.
66
repository: https://github.com/dart-lang/mime
77

88
environment:
9-
sdk: ^3.0.0
9+
sdk: ^3.2.0
1010

1111
dev_dependencies:
12-
dart_flutter_team_lints: ^1.0.0
12+
dart_flutter_team_lints: ^2.0.0
1313
test: ^1.16.0

0 commit comments

Comments
 (0)