-
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 lints, require Dart 2.17, add dependabot (dart-archive/browser…
- Loading branch information
Showing
8 changed files
with
137 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Set update schedule for GitHub Actions | ||
|
||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" |
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,3 +1,7 @@ | ||
## 1.1.2-dev | ||
|
||
- Require Dart 2.17 | ||
|
||
## 1.1.1 | ||
|
||
- Populate the pubspec `repository` field. | ||
|
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,19 +1,55 @@ | ||
# https://dart.dev/guides/language/analysis-options | ||
include: package:lints/recommended.yaml | ||
|
||
analyzer: | ||
strong-mode: | ||
implicit-casts: false | ||
language: | ||
strict-casts: true | ||
strict-inference: true | ||
strict-raw-types: true | ||
|
||
linter: | ||
rules: | ||
- always_declare_return_types | ||
- avoid_bool_literals_in_conditional_expressions | ||
- avoid_catching_errors | ||
- avoid_classes_with_only_static_members | ||
- avoid_dynamic_calls | ||
- avoid_private_typedef_functions | ||
- avoid_redundant_argument_values | ||
- avoid_returning_null_for_future | ||
- avoid_returning_this | ||
- avoid_unused_constructor_parameters | ||
- avoid_void_async | ||
- cancel_subscriptions | ||
- comment_references | ||
- directives_ordering | ||
- join_return_with_assignment | ||
- lines_longer_than_80_chars | ||
- literal_only_boolean_expressions | ||
- missing_whitespace_between_adjacent_strings | ||
- no_adjacent_strings_in_list | ||
- no_runtimeType_toString | ||
- omit_local_variable_types | ||
- only_throw_errors | ||
- package_api_docs | ||
- prefer_asserts_in_initializer_lists | ||
- prefer_const_constructors | ||
- prefer_const_declarations | ||
- prefer_expression_function_bodies | ||
- prefer_final_locals | ||
- prefer_relative_imports | ||
- prefer_single_quotes | ||
- require_trailing_commas | ||
- sort_pub_dependencies | ||
- test_types_in_equals | ||
- throw_in_finally | ||
- type_annotate_public_apis | ||
- unawaited_futures | ||
- unnecessary_lambdas | ||
- unnecessary_parenthesis | ||
- unnecessary_raw_strings | ||
- unnecessary_statements | ||
- use_if_null_to_convert_nulls_to_bools | ||
- use_raw_strings | ||
- use_string_buffers | ||
- use_super_parameters |
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,15 +1,15 @@ | ||
name: browser_launcher | ||
version: 1.1.1 | ||
version: 1.1.2-dev | ||
description: Provides a standardized way to launch web browsers for testing and tools. | ||
repository: https://github.com/dart-lang/browser_launcher | ||
|
||
environment: | ||
sdk: '>=2.12.0 <3.0.0' | ||
sdk: '>=2.17.0 <3.0.0' | ||
|
||
dependencies: | ||
path: ^1.8.0 | ||
webkit_inspection_protocol: ^1.0.0 | ||
|
||
dev_dependencies: | ||
lints: ^1.0.0 | ||
lints: ^2.0.0 | ||
test: ^1.17.3 |
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