This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to latest lints and fix (#122)
Also bump min SDK to Dart 3.1
- Loading branch information
Showing
8 changed files
with
17 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,22 @@ | ||
include: package:lints/recommended.yaml | ||
include: package:dart_flutter_team_lints/analysis_options.yaml | ||
|
||
analyzer: | ||
language: | ||
strict-casts: true | ||
|
||
linter: | ||
rules: | ||
- avoid_catching_errors | ||
- avoid_dynamic_calls | ||
- avoid_private_typedef_functions | ||
- avoid_returning_null | ||
- avoid_unused_constructor_parameters | ||
- cancel_subscriptions | ||
- cascade_invocations | ||
- comment_references | ||
- directives_ordering | ||
- join_return_with_assignment | ||
- lines_longer_than_80_chars | ||
- missing_whitespace_between_adjacent_strings | ||
- no_adjacent_strings_in_list | ||
- no_runtimeType_toString | ||
- only_throw_errors | ||
- package_api_docs | ||
- prefer_asserts_in_initializer_lists | ||
- prefer_const_constructors | ||
- prefer_const_declarations | ||
- prefer_expression_function_bodies | ||
- prefer_interpolation_to_compose_strings | ||
- prefer_relative_imports | ||
- sort_pub_dependencies | ||
- test_types_in_equals | ||
- throw_in_finally | ||
- type_annotate_public_apis | ||
- unnecessary_lambdas | ||
- unnecessary_null_aware_assignments | ||
- unnecessary_parenthesis | ||
- unnecessary_raw_strings | ||
- unnecessary_statements | ||
- use_is_even_rather_than_modulo | ||
- use_string_buffers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
name: fixnum | ||
version: 1.1.0 | ||
version: 1.1.1-wip | ||
description: >- | ||
Library for 32- and 64-bit signed fixed-width integers with consistent | ||
behavior between native and JS runtimes. | ||
repository: https://github.com/dart-lang/fixnum | ||
|
||
environment: | ||
sdk: '>=2.19.0 <3.0.0' | ||
sdk: ^3.1.0 | ||
|
||
dev_dependencies: | ||
lints: ^2.0.0 | ||
dart_flutter_team_lints: ^2.0.0 | ||
test: ^1.16.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters