Remove avoid_redundant_argument_values lint (#86)
Fix the lint in one case
diff --git a/analysis_options.yaml b/analysis_options.yaml
index 8a27e12..ffabc48 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -9,7 +9,6 @@
- avoid_catching_errors
- avoid_function_literals_in_foreach_calls
- avoid_private_typedef_functions
- - avoid_redundant_argument_values
- avoid_renaming_method_parameters
- avoid_returning_null_for_void
- avoid_unused_constructor_parameters
diff --git a/lib/src/parsed_path.dart b/lib/src/parsed_path.dart
index 45fb64b..8d96cd5 100644
--- a/lib/src/parsed_path.dart
+++ b/lib/src/parsed_path.dart
@@ -128,9 +128,8 @@
}
// Canonicalize separators.
- final newSeparators = List<String>.generate(
- newParts.length, (_) => style.separator,
- growable: true);
+ final newSeparators =
+ List<String>.generate(newParts.length, (_) => style.separator);
newSeparators.insert(
0,
isAbsolute && newParts.isNotEmpty && style.needsSeparator(root)