Move to pkg:lints (#28)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d83ac83..66736db 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/analysis_options.yaml b/analysis_options.yaml
index 0711aca..b191605 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -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
- 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
diff --git a/pubspec.yaml b/pubspec.yaml
index 7233840..082db41 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -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
@@ -13,5 +13,5 @@
webkit_inspection_protocol: ^1.0.0
dev_dependencies:
- pedantic: ^1.11.0
+ lints: ^1.0.0
test: ^1.17.3