Skip to content

Commit fd3e813

Browse files
authored
Use pkg:pedantic lints (#377)
1 parent dc71646 commit fd3e813

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

analysis_options.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ linter:
1414
- avoid_function_literals_in_foreach_calls
1515
- avoid_init_to_null
1616
- avoid_null_checks_in_equality_operators
17+
- avoid_relative_lib_imports
1718
- avoid_return_types_on_setters
1819
- avoid_returning_null
20+
- avoid_types_as_parameter_names
1921
- avoid_unused_constructor_parameters
2022
- await_only_futures
2123
- camel_case_types
@@ -72,4 +74,5 @@ linter:
7274
- unnecessary_statements
7375
- unnecessary_this
7476
- unrelated_type_equality_checks
77+
- use_rethrow_when_possible
7578
- valid_regexps

0 commit comments

Comments
 (0)