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

Commit 61512c1

Browse files
authored
Move to pkg:lints (#28)
1 parent c6cc102 commit 61512c1

File tree

3 files changed

+14
-37
lines changed

3 files changed

+14
-37
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1+
## 1.0.1-dev
2+
13
## 1.0.0
24

3-
- Migrate to null-safety.
5+
- Migrate to null-safety.
46

57
## 0.1.10
68

7-
- Support `webkit_inspection_protocol` version `^1.0.0`.
9+
- Support `webkit_inspection_protocol` version `^1.0.0`.
810

911
## 0.1.9
1012

11-
- Add support for Chrome executables in `CHROME_PATH`.
13+
- Add support for Chrome executables in `CHROME_PATH`.
1214

1315
## 0.1.8
1416

analysis_options.yaml

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,18 @@
1-
include: package:pedantic/analysis_options.yaml
1+
include: package:lints/recommended.yaml
2+
23
analyzer:
34
strong-mode:
45
implicit-casts: false
6+
57
linter:
68
rules:
7-
- avoid_empty_else
8-
- avoid_init_to_null
9-
- avoid_null_checks_in_equality_operators
9+
- always_declare_return_types
1010
- avoid_unused_constructor_parameters
11-
- await_only_futures
12-
- camel_case_types
1311
- cancel_subscriptions
14-
- constant_identifier_names
15-
- control_flow_in_finally
1612
- directives_ordering
17-
- empty_catches
18-
- empty_constructor_bodies
19-
- empty_statements
20-
- hash_and_equals
21-
- implementation_imports
22-
- iterable_contains_unrelated_type
23-
- library_names
24-
- library_prefixes
25-
- list_remove_unrelated_type
26-
- non_constant_identifier_names
27-
- overridden_fields
13+
- omit_local_variable_types
2814
- package_api_docs
29-
- package_names
30-
- package_prefixed_library_names
31-
- prefer_equal_for_default_values
32-
- prefer_final_fields
33-
- prefer_generic_function_type_aliases
34-
- prefer_is_not_empty
35-
- slash_for_doc_comments
15+
- prefer_single_quotes
3616
- test_types_in_equals
3717
- throw_in_finally
38-
- type_init_formals
39-
- unnecessary_brace_in_string_interps
40-
- unnecessary_const
41-
- unnecessary_new
42-
- unrelated_type_equality_checks
43-
- valid_regexps
18+
- unawaited_futures

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: browser_launcher
22
description: Provides a standardized way to launch web browsers for testing and tools.
33

4-
version: 1.0.0
4+
version: 1.0.1-dev
55

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

@@ -13,5 +13,5 @@ dependencies:
1313
webkit_inspection_protocol: ^1.0.0
1414

1515
dev_dependencies:
16-
pedantic: ^1.11.0
16+
lints: ^1.0.0
1717
test: ^1.17.3

0 commit comments

Comments
 (0)