Sign in
chromium
/
external
/
github.com
/
dart-lang
/
linter
/
refs/tags/1.28.0
/
.
/
lib
/
src
/
rules
tree: 003c59e0dc9d81f521c85c9aaa6111ff8b661933 [
path history
]
[
tgz
]
pub/
always_declare_return_types.dart
always_put_control_body_on_new_line.dart
always_put_required_named_parameters_first.dart
always_require_non_null_named_parameters.dart
always_specify_types.dart
always_use_package_imports.dart
annotate_overrides.dart
avoid_annotating_with_dynamic.dart
avoid_as.dart
avoid_bool_literals_in_conditional_expressions.dart
avoid_catches_without_on_clauses.dart
avoid_catching_errors.dart
avoid_classes_with_only_static_members.dart
avoid_double_and_int_checks.dart
avoid_dynamic_calls.dart
avoid_empty_else.dart
avoid_equals_and_hash_code_on_mutable_classes.dart
avoid_escaping_inner_quotes.dart
avoid_field_initializers_in_const_classes.dart
avoid_final_parameters.dart
avoid_function_literals_in_foreach_calls.dart
avoid_implementing_value_types.dart
avoid_init_to_null.dart
avoid_js_rounded_ints.dart
avoid_multiple_declarations_per_line.dart
avoid_null_checks_in_equality_operators.dart
avoid_positional_boolean_parameters.dart
avoid_print.dart
avoid_private_typedef_functions.dart
avoid_redundant_argument_values.dart
avoid_relative_lib_imports.dart
avoid_renaming_method_parameters.dart
avoid_return_types_on_setters.dart
avoid_returning_null.dart
avoid_returning_null_for_future.dart
avoid_returning_null_for_void.dart
avoid_returning_this.dart
avoid_setters_without_getters.dart
avoid_shadowing_type_parameters.dart
avoid_single_cascade_in_expression_statements.dart
avoid_slow_async_io.dart
avoid_type_to_string.dart
avoid_types_as_parameter_names.dart
avoid_types_on_closure_parameters.dart
avoid_unnecessary_containers.dart
avoid_unused_constructor_parameters.dart
avoid_void_async.dart
avoid_web_libraries_in_flutter.dart
await_only_futures.dart
camel_case_extensions.dart
camel_case_types.dart
cancel_subscriptions.dart
cascade_invocations.dart
cast_nullable_to_non_nullable.dart
close_sinks.dart
combinators_ordering.dart
comment_references.dart
conditional_uri_does_not_exist.dart
constant_identifier_names.dart
control_flow_in_finally.dart
curly_braces_in_flow_control_structures.dart
depend_on_referenced_packages.dart
deprecated_consistency.dart
diagnostic_describe_all_properties.dart
directives_ordering.dart
discarded_futures.dart
do_not_use_environment.dart
empty_catches.dart
empty_constructor_bodies.dart
empty_statements.dart
eol_at_end_of_file.dart
exhaustive_cases.dart
file_names.dart
flutter_style_todos.dart
hash_and_equals.dart
implementation_imports.dart
invariant_booleans.dart
iterable_contains_unrelated_type.dart
join_return_with_assignment.dart
leading_newlines_in_multiline_strings.dart
library_names.dart
library_prefixes.dart
library_private_types_in_public_api.dart
lines_longer_than_80_chars.dart
list_remove_unrelated_type.dart
literal_only_boolean_expressions.dart
missing_whitespace_between_adjacent_strings.dart
no_adjacent_strings_in_list.dart
no_default_cases.dart
no_duplicate_case_values.dart
no_leading_underscores_for_library_prefixes.dart
no_leading_underscores_for_local_identifiers.dart
no_logic_in_create_state.dart
no_runtimeType_toString.dart
non_constant_identifier_names.dart
noop_primitive_operations.dart
null_check_on_nullable_type_parameter.dart
null_closures.dart
omit_local_variable_types.dart
one_member_abstracts.dart
only_throw_errors.dart
overridden_fields.dart
package_api_docs.dart
package_prefixed_library_names.dart
parameter_assignments.dart
prefer_adjacent_string_concatenation.dart
prefer_asserts_in_initializer_lists.dart
prefer_asserts_with_message.dart
prefer_bool_in_asserts.dart
prefer_collection_literals.dart
prefer_conditional_assignment.dart
prefer_const_constructors.dart
prefer_const_constructors_in_immutables.dart
prefer_const_declarations.dart
prefer_const_literals_to_create_immutables.dart
prefer_constructors_over_static_methods.dart
prefer_contains.dart
prefer_double_quotes.dart
prefer_equal_for_default_values.dart
prefer_expression_function_bodies.dart
prefer_final_fields.dart
prefer_final_in_for_each.dart
prefer_final_locals.dart
prefer_final_parameters.dart
prefer_for_elements_to_map_fromIterable.dart
prefer_foreach.dart
prefer_function_declarations_over_variables.dart
prefer_generic_function_type_aliases.dart
prefer_if_elements_to_conditional_expressions.dart
prefer_if_null_operators.dart
prefer_initializing_formals.dart
prefer_inlined_adds.dart
prefer_int_literals.dart
prefer_interpolation_to_compose_strings.dart
prefer_is_empty.dart
prefer_is_not_empty.dart
prefer_is_not_operator.dart
prefer_iterable_whereType.dart
prefer_mixin.dart
prefer_null_aware_method_calls.dart
prefer_null_aware_operators.dart
prefer_relative_imports.dart
prefer_single_quotes.dart
prefer_spread_collections.dart
prefer_typing_uninitialized_variables.dart
prefer_void_to_null.dart
provide_deprecation_message.dart
public_member_api_docs.dart
recursive_getters.dart
require_trailing_commas.dart
sized_box_for_whitespace.dart
sized_box_shrink_expand.dart
slash_for_doc_comments.dart
sort_child_properties_last.dart
sort_constructors_first.dart
sort_unnamed_constructors_first.dart
super_goes_last.dart
test_types_in_equals.dart
throw_in_finally.dart
tighten_type_of_initializing_formals.dart
type_annotate_public_apis.dart
type_init_formals.dart
unawaited_futures.dart
unnecessary_await_in_return.dart
unnecessary_brace_in_string_interps.dart
unnecessary_const.dart
unnecessary_constructor_name.dart
unnecessary_final.dart
unnecessary_getters.dart
unnecessary_getters_setters.dart
unnecessary_lambdas.dart
unnecessary_late.dart
unnecessary_new.dart
unnecessary_null_aware_assignments.dart
unnecessary_null_aware_operator_on_extension_on_nullable.dart
unnecessary_null_checks.dart
unnecessary_null_in_if_null_operators.dart
unnecessary_nullable_for_final_variable_declarations.dart
unnecessary_overrides.dart
unnecessary_parenthesis.dart
unnecessary_raw_strings.dart
unnecessary_statements.dart
unnecessary_string_escapes.dart
unnecessary_string_interpolations.dart
unnecessary_this.dart
unnecessary_to_list_in_spreads.dart
unreachable_from_main.dart
unrelated_type_equality_checks.dart
unsafe_html.dart
use_build_context_synchronously.dart
use_colored_box.dart
use_decorated_box.dart
use_enums.dart
use_full_hex_values_for_flutter_colors.dart
use_function_type_syntax_for_parameters.dart
use_if_null_to_convert_nulls_to_bools.dart
use_is_even_rather_than_modulo.dart
use_key_in_widget_constructors.dart
use_late_for_private_fields_and_variables.dart
use_named_constants.dart
use_raw_strings.dart
use_rethrow_when_possible.dart
use_setters_to_change_properties.dart
use_string_buffers.dart
use_string_in_part_of_directives.dart
use_super_parameters.dart
use_test_throws_matchers.dart
use_to_and_as_if_applicable.dart
valid_regexps.dart
void_checks.dart