Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Sep 11, 2024
1 parent 56282a4 commit 98e0cf5
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 29 deletions.
4 changes: 2 additions & 2 deletions pkgs/cli_config/lib/src/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Config {

/// Constructs a config by parsing the three sources.
///
/// If provided, [commandLineDefines] must be a list of '<key>=<value>'.
/// If provided, [commandLineDefines] must be a list of `<key>=<value>`.
///
/// If provided, [workingDirectory] is used to resolves paths inside
/// [commandLineDefines].
Expand Down Expand Up @@ -120,7 +120,7 @@ class Config {

/// Constructs a config by parsing the three sources.
///
/// If provided, [commandLineDefines] must be a list of '<key>=<value>'.
/// If provided, [commandLineDefines] must be a list of `<key>=<value>`.
///
/// If provided, [workingDirectory] is used to resolves paths inside
/// [commandLineDefines].
Expand Down
4 changes: 2 additions & 2 deletions pkgs/extension_discovery/lib/extension_discovery.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ final class Extension {
/// * [bool] (`true` or `false`),
/// * [String],
/// * [num] ([int] or [double]),
/// * [List<Object?>], and,
/// * [Map<String, Object?>].
/// * `List<Object?>`, and,
/// * `Map<String, Object?>`.
final Map<String, Object?> config;

Extension._({
Expand Down
4 changes: 2 additions & 2 deletions pkgs/extension_discovery/lib/src/yaml_config_format.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ import 'package:yaml/yaml.dart'
/// * [bool] (`true` or `false`),
/// * [String],
/// * [num] ([int] or [double]),
/// * [List<Object?>], and,
/// * [Map<String, Object?>].
/// * `List<Object?>`, and,
/// * `Map<String, Object?>`.
Map<String, Object?> parseYamlFromConfigFile(String yamlString) {
final visited = <YamlNode>{};
Object? toPlainType(YamlNode n) {
Expand Down
1 change: 0 additions & 1 deletion pkgs/mime/lib/src/bound_multipart_stream.dart
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ class BoundMultipartStream {
default:
// Should be unreachable.
assert(false);
break;
}

// Move to the next byte.
Expand Down
20 changes: 0 additions & 20 deletions pkgs/oauth2/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,14 @@ analyzer:

linter:
rules:
- always_declare_return_types
- avoid_catching_errors
- avoid_dynamic_calls
- avoid_private_typedef_functions
- avoid_unused_constructor_parameters
- avoid_void_async
- cancel_subscriptions
- directives_ordering
- literal_only_boolean_expressions
- no_adjacent_strings_in_list
- no_runtimeType_toString
- omit_local_variable_types
- only_throw_errors
- package_api_docs
- prefer_asserts_in_initializer_lists
- prefer_const_constructors
- prefer_const_declarations
- prefer_relative_imports
- prefer_single_quotes
- sort_pub_dependencies
- test_types_in_equals
- throw_in_finally
- type_annotate_public_apis
- unawaited_futures
- unnecessary_await_in_return
- unnecessary_lambdas
- unnecessary_parenthesis
- unnecessary_statements
- use_is_even_rather_than_modulo
- use_string_buffers
- use_super_parameters
2 changes: 1 addition & 1 deletion pkgs/oauth2/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ dependencies:
http_parser: ^4.0.0

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
test: ^1.16.0
2 changes: 1 addition & 1 deletion pkgs/source_map_stack_trace/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ dependencies:
stack_trace: ^1.10.0

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
source_span: ^1.8.0
test: ^1.16.0

0 comments on commit 98e0cf5

Please sign in to comment.