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

Move to pkg:lints #28

Merged
merged 1 commit into from
Oct 20, 2021
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
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
## 1.0.1-dev

## 1.0.0

- Migrate to null-safety.
- Migrate to null-safety.

## 0.1.10

- Support `webkit_inspection_protocol` version `^1.0.0`.
- Support `webkit_inspection_protocol` version `^1.0.0`.

## 0.1.9

- Add support for Chrome executables in `CHROME_PATH`.
- Add support for Chrome executables in `CHROME_PATH`.

## 0.1.8

Expand Down
39 changes: 7 additions & 32 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,43 +1,18 @@
include: package:pedantic/analysis_options.yaml
include: package:lints/recommended.yaml

analyzer:
strong-mode:
implicit-casts: false

linter:
rules:
- avoid_empty_else
- avoid_init_to_null
- avoid_null_checks_in_equality_operators
- always_declare_return_types
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in lints that were in pedantic, but not in pkg:lints

- avoid_unused_constructor_parameters
- await_only_futures
- camel_case_types
- cancel_subscriptions
- constant_identifier_names
- control_flow_in_finally
- directives_ordering
- empty_catches
- empty_constructor_bodies
- empty_statements
- hash_and_equals
- implementation_imports
- iterable_contains_unrelated_type
- library_names
- library_prefixes
- list_remove_unrelated_type
- non_constant_identifier_names
- overridden_fields
- omit_local_variable_types
- package_api_docs
- package_names
- package_prefixed_library_names
- prefer_equal_for_default_values
- prefer_final_fields
- prefer_generic_function_type_aliases
- prefer_is_not_empty
- slash_for_doc_comments
- prefer_single_quotes
- test_types_in_equals
- throw_in_finally
- type_init_formals
- unnecessary_brace_in_string_interps
- unnecessary_const
- unnecessary_new
- unrelated_type_equality_checks
- valid_regexps
- unawaited_futures
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: browser_launcher
description: Provides a standardized way to launch web browsers for testing and tools.

version: 1.0.0
version: 1.0.1-dev

homepage: https://github.com/dart-lang/browser_launcher

Expand All @@ -13,5 +13,5 @@ dependencies:
webkit_inspection_protocol: ^1.0.0

dev_dependencies:
pedantic: ^1.11.0
lints: ^1.0.0
test: ^1.17.3