switch_on_typeunnecessary_unawaiteduse_null_aware_elementsunnecessary_ignoreunnecessary_underscoresstrict_top_level_inferenceomit_obvious_property_typesspecify_nonobvious_property_typesunnecessary_asyncunsafe_variancepackage_api_docsunsafe_htmlavoid_null_checks_in_equality_operatorsuse_truncating_divisionomit_obvious_local_variable_typesspecify_nonobvious_local_variable_typesavoid_futureor_voidavoid_dynamic_calls to allow method invocations on a cast to dynamic.new lint: unintended_html_in_doc_comment
new lint: invalid_runtime_check_with_js_interop_types
new lint: document_ignores
update noop_primitive_operations to allow an empty string literal at the beginning or end of adjacent string literals:
// LINT var s = 'a' '' 'b'; // OK var s = '' 'a' 'b'; // OK var s = 'a' 'b'; '';
update avoid_renaming_method_parameters to ignore wildcard renames
unnecessary_library_namemissing_code_block_language_in_doc_commentalways_require_non_null_named_parametersavoid_returning_nullavoid_returning_null_for_futureiterable_contains_unrelated_typelist_remove_unrelated_typeannotate_redeclares (experimental)use_build_context_synchronouslyno_self_assignmentsno_wildcard_variable_usesnew lint: implicit_reopen
new lint: unnecessary_breaks
new lint: type_literal_in_constant_pattern
new lint: invalid_case_patterns
new lint: matching_super_parameters
new lint: no_literal_bool_comparisons
removed lint: enable_null_safety
removed lint: invariant_booleans
removed lint: prefer_bool_in_asserts
removed lint: prefer_equal_for_default_values
removed lint: super_goes_last
implicit_reopenunnecessary_breakstype_literal_in_constant_patternenable_null_safetyinvariant_booleansprefer_bool_in_assertsprefer_equal_for_default_valuessuper_goes_lastunnecessary_parenthesis false-positives with null-aware expressionsvoid_checks to allow assignments of Future<dynamic>? to parameters typed FutureOr<void>?use_build_context_synchronously in if conditionsavoid_private_typedef_functions with generalized type aliasesunnecessary_parenthesis to detect some doubled parensvoid_checks to allow returning Never as voidno_adjacent_strings_in_list to support set literals and for- and if-elementsavoid_types_as_parameter_names to handle type variablesavoid_positional_boolean_parameters to handle typedefsavoid_redundant_argument_values to check parameters of redirecting constructorsprefer_const_literals_to_create_immutablesuse_build_context_synchronously to check context propertiesunnecessary_parenthesis support for property accesses and method invocationsonly_throw_errors to not report on values of type Neverprefer_mixin to handle class mixinsunnecessary_null_checks to ignore Future.value and Completer.completeunnecessary_parenthesis false positives on constant patternsinvalid_case_patternsunnecessary_const to handle case patternsunnecessary_parenthesisunreachable_from_main to report unreachable public static fields, getters, setters, and methods, that are declared on public classes, mixins, enums, and extensionsunnecessary_parenthesis false-positive with null-aware expressionsvoid_checks to allow assignments of Future<dynamic>? to parameters typed FutureOr<void>?enable_null_safetyinvariant_booleansprefer_bool_in_assertsprefer_equal_for_default_valuessuper_goes_lastunnecessary_parenthesis to detect some doubled parensvoid_checks to allow returning Never as voidunnecessary_breaksuse_build_context_synchronously in if conditionsno_adjacent_strings_in_list to support set literals and for- and if-elementsavoid_types_as_parameter_names to handle type variablesavoid_positional_boolean_parameters to handle typedefsunnecessary_parenthesis support for property accesses and method invocationsavoid_redundant_argument_values to check parameters of redirecting constructorsprefer_const_literals_to_create_immutablesuse_build_context_synchronously to check context propertiesavoid_private_typedef_functions with generalized type aliasesprefer_equal_for_default_values to not report for SDKs >=2.19, where this lint is now an analyzer diagnostic.unrelated_type_equality_checks to support updated package:fixnum structure.enable_null_safetylibrary_annotationsdangling_library_doc_commentsno_leading_underscores_for_local_identifiers to not report super formals as local variablesunnecessary_overrides false negativescancel_subscriptions for nullable fieldscollection_methods_unrelated_typelibrary_names to support unnamed librariesunnecessary_parenthesis support for as-expressionsuse_build_context_synchronously to check for context property accessescomment_referencesunnecessary_brace_in_string_interps for this expressionsuse_build_context_synchronously for BuildContext.mountedflutter_style_todos to handle more casesuse_build_context_synchronously to check for BuildContexts in named expressionsexhaustive_cases to check parenthesized expressionsavoid_null_checks_in_equality_operatorsjoin_return_with_statementrecursive_gettersunnecessary_lambdasdiagnostic_describe_all_propertiesprefer_foreachavoid_escaping_inner_quotescascade_invocationstighten_type_of_initializing_formalsprefer_interpolation_to_compose_stringsprefer_constructors_over_static_methodsavoid_returning_nullparameter_assignmentsprefer_constructors_over_static_methodsprefer_interpolation_to_compose_stringsavoid_returning_nullavoid_returning_thisflutter_style_todosavoid_positional_boolean_parametersprefer_const_constructorsimplicit_call_tearoffsunnecessary_library_directiveavoid_redundant_argument_values to work with enum declarationsprefer_containsunreachable_from_mainDartTypeUtilities refactoringavoid_redundant_argument_values when referencing required parameters in legacy librariesuse_late_for_private_fields_and_variablesuse_string_in_part_of_directivesuse_super_parameters false positive with repeated super parameter referencesuse_late_for_private_fields_and_variables to handle enumsprefer_contains false positive when start index is non-zeronoop_primitive_operations to catch .toString() in string interpolationspublic_member_api_docs to report diagnostics on extension names (instead of bodies)DartTypeUtilities refactoringcombinators_orderinguse_colored_box and use_decorated_box to not over-report on containers without a childunnecessary_parenthesis on a map-or-set literal at the start of an expression statementprefer_final_locals reporting on fieldsunnecessary_overrides to allow overrides on @Protected membersavoid_multiple_declarations_per_line false positive in for statementsprefer_final_locals false positive on declaration lists with at least one non-final variableuse_build_context_synchronously to handle awaits in if conditionsdiscarded_futuresno_duplicate_case_valueslines_longer_than_80_chars, prefer_const_constructors_in_immutables, and prefer_initializing_formalsprefer_final_parameters to support super parametersunnecessary_to_list_in_spreadsunawaited_futures to handle string interpolated futuresuse_colored_box to not flag nullable colorsunnecessary_null_aware_operator_on_extension_on_nullableno_leading_underscores_for_local_identifiers to lint local function declarationsavoid_init_to_null to correctly handle super initializing defaults that are non-nullno_leading_underscores_for_local_identifiers to allow identifiers with just underscoresflutter_style_todos to support usernames that start with a digitrequire_trailing_commas to handle functions in asserts and multi-line stringsunsafe_html to allow assignments to img.srcunnecessary_null_checks to properly handle map literal entriesunnecessary_getters_setters and prefer_final_fieldswith enhanced enumsinvariant_booleansuse_super_parameters false positive fixesdepend_on_referenced_packages to treat flutter_gen as a virtual package, not needing an explicit dependency2.15.0use_key_in_widget_constructors false positive with key super parameter initializersuse_super_parameters false positive with field formal paramsunnecessary_null_checks and null_check_on_nullable_type_parameter to handle list/set/map literals, and yield and await expressionsuse_super_initializers to use_super_parametersunnecessary_null_aware_assignments property-access false positiveuse_super_initializersuse_enumsuse_colored_boxsort_constructorsalways_use_package_imports, avoid_print, and avoid_relative_lib_importsavoid_void_async to skip main functionsprefer_final_parameters to not super on super paramsunnecessary_late to report on the variable namenull_check_on_nullable_type_parameter stablecamel_case_types to cover enumsno_leading_underscores_for_local_identifiers to not mis-flag field formal parameters with default valuesprefer_function_declarations_over_variables to not mis-flag non-final fieldsprefer_containsexhaustive_cases to skip deprecated values that redirect to other valuesanalyzer version 3.0unnecessary_lateno_leading_underscores_for_local_identifiers to allow underscores in catch clausesprefer_initializing_formalssecure_pubspec_urls to check issue_tracker and repository entriesconditional_uri_does_not_existmissing_whitespace_between_adjacent_stringsuse_decorated_boxno_leading_underscores_for_library_prefixesno_leading_underscores_for_local_identifierssecure_pubspec_urlssized_box_shrink_expandavoid_final_parametersomit_local_variable_typesomit_local_variable_types to not flag a local type that is required for inferencewhile (true) { ...} in literal_only_boolean_expressionsfile_names to report at the start of the file (not the entire compilation unit)prefer_collection_literals named typed param false positiveuse_build_context_synchronouslyunnecessary_lambdas false positive for const constructor invocationsavoid_print to allow kDebugMode-wrapped print callsprefer_final_parametersunnecessary_parenthesis false positive with function expressionsavoid_redundant_argument_values, unnecessary_lambdas, and unnecessary_parenthesisunnecessary_constructor_name to flag unnecessary uses of .newcamel_case_types, file_names, etc.)use_build_context_synchronously in awaits inside anonymous functionsoverridden_fields false positive w/ static fieldsavoid_null_checks_in_equality_operators w/ non-nullable paramsprefer_const_constructorsavoid_dynamic_calls stableMockPubVisitor and MockRule classesprefer_void_to_null false positive w/ overridden propertiesNodeLintRule in lint rule declarationsprefer_void_to_null false positive on overriding returnsprefer_generic_function_type_aliases false positive w/ incomplete statementsprefer_initializing_formals with factory constructorsvoid_checks false positives with incomplete sourceunnecessary_getters_setters to only flag the getteravoid_renaming_method_parametersprefer_void_to_nullomit_local_variable_typesuse_rethrow_when_possibleannotate_overrides, prefer_contains, and prefer_void_to_nullprefer_is_not_emptyno_logic_in_create_statepackage_names to allow dart identifiers as package namespackage_names (causing keywords to wrongly get flagged)avoid_classes_with_only_static_member to check for inherited members and also flag classes with only methodscurly_braces_in_flow_control_structures to properly flag terminating else-if blocksalways_specify_types to support type aliasesunnecessary_string_interpolations w/ nullable interpolated stringsavoid_function_literals_in_foreach_calls for nullable iterablesavoid_returning_null w/ NNBDuse_late_for_private_fields_and_variables in the presence of const constructorseol_at_end_of_fileanalyzer constraint to >=2.0.0 <3.0.0analyzer constraint to >=1.7.0 <3.0.0.meta constraint to >=1.3.0 <3.0.0.use_full_hex_values_for_flutter_colorsuse_build_context_synchronouslyuse_setters_to_change_properties to only highlight a method name, not the entire body and doc commentunnecessary_getters_setters to allow otherwise “unnecessary” getters and setters with annotationsmissing_whitespace_between_adjacent_strings to allow String interpolations at the beginning and end of String literalsunnecessary_getters_setters to allow for setters with non-basic assignments (for example, ??= or +=)sort_child_properties_last to allow for a trailing Widget in instance creationsnon_constant_identifier_names to allow for a trailing underscoreprefer_final_parameters where first parameter is finaldirectives_ordering sorting of directives with dot paths and dot-separated package namessort_child_properties_last to allow for a trailing Widget in instance creationsSecurityLintCode instead of deprecated SecurityLintCodeWithUniqueNameavoid_types_as_parameter_names to skip field formal parametersprefer_interpolation_to_compose_strings where the left operand is not a Stringonly_throw_errors for misidentified type variablesdepend_on_referenced_packagesavoid_returning_null_for_future to skip checks for null-safe librariesuse_test_throws_matcherssort_child_properties_last to accept closures after childprefer_contains and prefer_is_emptynoop_primitive_operationsavoid_web_libraries_in_flutter as stableprefer_final_parametersprefer_initializing_formals to allow assignments where identifier names don't matchdirectives_ordering now checks ordering of package: imports in code outside pub packagesuse_build_context_synchronously to short-circuit await-discovery in terminating blocksuse_build_context_synchronously updated to recognize nullable types when accessed from legacy librariesnon_constant_identifier_names updated to check local variables, for-loop initializers and catch clauseslines_longer_than_80_chars updated to start at 80 to make splitting easierrequire_trailing_commasprefer_null_aware_method_callsiterable_contains_unrelated_type to better support List content checkscamel_case_types and prefer_mixin to support non-function type aliasesprefer_mixin to properly make exceptions for dart.collection legacy mixinsuse_build_context_synchronously (experimental)avoid_multiple_declarations_per_lineuse_if_null_to_convert_nulls_to_boolsdeprecated_consistencyuse_named_constantsavoid_asavoid_dynamic_calls produced false-positives for .call()avoid_dynamic_callsavoid_type_to_string to use addArgumentList registry APIprefer_collection_literals when there is no static parameter elementprefer_collection_literals when a LinkedHashSet or LinkedHashMap instantiation is passed as the argument to a function in any position other than the firstprefer_collection_literals when a LinkedHashSet or LinkedHashMap instantiation is used in a place with a static type other than Set or MapPhysicalResourceProvider APIprefer_constructors_over_static_methodspackage_names to allow leading underscoresunnecessary_null_checksunnecessary_null_checksmissing_whitespace_between_adjacent_stringsvoid_checks for NNBDunnecessary_string_escapesunnecessary_null_typesprefer_constructors_over_static_methods to respect type parametersalways_require_non_null_named_parameters to be NNBD-awareunnecessary_nullable_for_final_variable_declarations to allow dynamicoverridden_fields to not report on abstract parent fieldsunrelated_type_equality_checks for NNBDtype_init_formalsto allow types not equal to the field typealways_use_package_imports, avoid_renaming_method_parameters, prefer_relative_imports and public_member_api_docs0.40.4 APIscast_nullable_to_non_nullablenull_check_on_nullable_type_parametertighten_type_of_initializing_formalspublic_member_apis to check generic type aliasesclose_sinks to handle this-prefixed property accessesunnecessary_null_checksunawaited_futures to handle Future subtypesavoid_type_to_stringunnecessary_nullable_for_final_variable_declarationsprefer_asserts_in_initializer_listsunnecessary_string_escapesunsafe_html updated to support unique error codesdiagnostic_describe_all_properties to check for Diagnosticables (not DiagnosticableMixins)use_lateunnecessary_lambdas to respect deferred importspublic_member_api_docs to check mixinsunnecessary_statements to skip as expressionsprefer_relative_imports to work with path dependenciesdirectives_ordering to remove third party package special-casingunnecessary_lambdas to check for tearoff assignabilityexhaustive_cases to not flag missing cases that are defaultedprefer_is_empty to special-case assert initializers and const contextslib/src/test_utilitiesdo_not_use_environmentno_default_cases (experimental)exhaustive_casestype_annotate_public_apis to allow inferred types in final field assignmentsprefer_mixin to allow “legacy” SDK abstract class mixinsuse_is_even_rather_than_modulounsafe_html to use a SecurityLintCode (making it un-ignorable)sized_box_for_whitespace to address false-positivesavoid_types_as_parameter_names to check catch-clausesunsafe_html to check attributes and methods on extensionsunsafe_html to include Window.open, Element.html and DocumentFragment.html in unsafe API checkssort_child_properties_lastpackage:analyzer API updatessized_box_for_whitespaceavoid_shadowing_type_parameters to support extensions and mixinsnon_constant_identifier_names to allow named constructors made up of only underscores (_)avoid_unused_constructor_parameters to ignore unused params named in all underscores (_)one_member_abstracts updated to not lint classes with mixins or implementing interfacesunnecessary_getters_setters fixed to ignore cases where a getter/setter is deprecatedleading_newlines_in_multiline_stringsavoid_private_typedef_functions and avoid_returning_null_for_futureprefer_typing_uninitialized_variables and omit_local_variable_types as compatibleuse_raw_stringsunnecessary_raw_stringsavoid_escaping_inner_quotesunnecessary_string_escapesavoid_web_libraries_in_flutterunnecessary_string_interpolationsmissing_whitespace_between_adjacent_stringsavoid_unused_constructor_parameters updated to ignore deprecated parametersno_runtimeType_toStringprefer_single_quotes lint messageunnecessary_finals fixed to not flag fieldsunnecessary_lambdas fixed to work with type argumentsLinterContext.resolveNameInScope() APIavoid_redundant_argument_valuesuse_key_in_widget_constructorsalways_put_required_parameters updated for NNBDpackage:analyzer 0.39.3 APIsavoid_redundant_argument_valuesslash_for_doc_comments to check mixin declarationsLinterContext.evaluateConstant APIalways_require_non_null_named_parameterscomment_referencesnull_closures to properly handle Iterable.singleWhereno_logic_in_create_statealways_require_non_null_named_parametersavoid_renaming_method_parameters, prefer_relative_imports and public_member_api_docs)always_require_non_null_named_parametersunnecessary_overrides to allow overrides when annotations (besides @override are specified)file_names to allow names w/ leading _'s (and improved performance)unnecessary_finalprefer_relative_imports to use a faster and more robust way to check for self-package referenceslib dir contents (speeding up avoid_renaming_method_parameters and making prefer_relative_imports and public_member_api_docs amenable to internal package formats -- w/o pubspecs)avoid_web_libraries_in_flutter updated to disallow access from all but Flutter web plugin packagesavoid_returning_null_for_void to check only null literals (and not expressions having Null types)prefer_final_fields to respect non-mutating prefix operatorsprefer_is_not_operatoravoid_unnecessary_containersavoid_init_to_nulldiagnostic_describe_all_properties to flag properties in Diagnosticables with no debug methods definednoSuchMethod exception in camel_case_extensions when analyzing unnamed extensionsavoid_print to catch tear-off usageavoid_web_libraries_in_flutter (experimental)unnecessary_lambdas for coming MethodInvocation vs. FunctionExpressionInvocation changesstaticType in favor of getting type of FormalParameters from the declared elementTypeParameterElements in prefer_const_constructorsoverridden_fieldspackage:analyzer for testinguse_full_hex_values_for_flutter_color_fixprefer_relative_importsawait_only_futuresuse_to_and_as_if_applicableInheritanceManager3camel_case_extensions experimental lintresolutionMapcamel_case_extensionsavoid_equals_and_hash_code_on_mutable_classesavoid_slow_async_io to flag async Directory methodsunnecessary_parensunsafe_html error reportingprefer_asserts_in_initializer_listsprefer_const_constructors to not flag @literal annotated constructorsavoid_printprefer_collection_literals to better handle LinkedHashSets and LinkedHashMapsprefer_final_fields to be more inclusiveprefer_const_constructorsprefer_initializing_formals to no longer suggest API breaking changesomit_local_variable_types to allow explicit dynamicsunrelated_type_equality_checksunsafe_htmlprefer_null_aware_operators to work beyond local variablesprefer_if_null_operatorsprefer_contains false positivesunnecessary_parenthesis false positivesprefer_asserts_in_initializer_lists false positivescurly_braces_in_flow_control_structures to handle more casesprefer_double_quotessort_child_properties_lasttype_annotate_public_apis false positive for static const initializersprefer_const_constructors_in_immutables is currently overly permissive, pending analyzer changes (#1537)unnecessary_await_in_return false positiveunrelated_type_equality_checks false negative with functionsprefer_spread_collections to not lint in const contextsprefer_iterable_whereType for is!prefer_collection_literals for constructors with paramsprefer_spread_collections to ignore calls to addAll that could be inlinedprefer_inlined_addsspread_collections to prefer_spread_collectionsprefer_for_elements_to_map_fromIterableprefer_if_elements_to_conditional_expressionsdiagnostic_describe_all_propertiesspread_collectionsprefer_asserts_with_messagefile_names to skip prefixed-extension Dart files (e.g., .css.dart, .g.dart)2.2.0avoid_shadowing_type_parameterspackage:analyzer APIsunnecessary_parenthesis false positivesprefer_collection_literals Set literal false positivesprefer_const_declarations Set literal false positivesprovide_deprecation_messageprefer_collection_literals to support Set literalssuper_goes_lastInheritanceManager2 APIunnecessary_parenthesis updated to play nicer with cascadesuse_full_hex_values_for_flutter_colorsprefer_null_aware_operatorshash_and_equals fixed to respect hashCode fieldsprefer_final_locals to ignore loop variables, andprefer_final_in_for_each lint to handle the for each caseprefer_final_locals to check to for loop variablestype_annotate_public_apis false positives on local functionsavoid_shadowing_type_parameters to report shadowed type parameters in generic typedefsuse_setters_to_change_properties to not wrongly lint overriding methodscascade_invocations to not lint awaited targetsprefer_conditional_assignment false positivesjoin_return_with_assignment false positivescascade_invocations false positivesinvariant_booleans status to experimentalunnecessary_parenthesis updated to allow wrapping a ! argumentalways_declare_return_typesprefer_final_fields to work with classes that have generic type argumentsunrelated_type_equality_checks^0.34.0avoid_positional_boolean_parameters, literal_only_boolean_expressions, prefer_foreach, prefer_void_to_null promoted to stableunnecessary_parenthesis improved to handle function expressionsprefer_bool_in_asserts (redundant w/ Dart 2 checks)0.33.42.1.0unnecessary_await_in_returnuse_function_type_syntax_for_parametersLinterContext APIuse_setters_to_change_propertiesprefer_foreach and public_member_api_docsavoid_returning_null_for_futureavoid_shadowing_type_parametersprefer_int_literalsawait_only_futures to allow awaiting on nulluse_setters_to_change_properties to work with => short-handprefer_iterable_whereTypeawait_only_futuresnull_closuresavoid_returning_null_for_void^0.33.0sort_constructors_first to apply to all membersunnecessary_this to work on field initializersunawaited_futures to ignore assignments within cascadessort_pub_dependenciesprefer_mixinavoid_implementing_value_typesflutter_style_todosinvariant_booleanspackage:pedanticunawaited_futuresavoid_void_asyncunawaited_futures updated to check cascadesvoid_checks (allowing T Function() to be assigned to void Function())lib/lines_longer_than_80_charsprefer_void_to_nullnew and const to be compatible w/ VMs running --no-preview-dart-2lines_longer_than_80_chars to handle CRLF endingsnon_constant_identifier_names to better handle invalid codecurly_braces_in_flow_control_structuresavoid_positional_boolean_parameters to ignore overridden methodsprefer_is_empty to not evaluate constants beyond int literalsnull_closureslines_longer_than_80_charsconst error handlinglinter binary to use previewDart2unnecessary_const lintunnecessary_new lintuse_to_and_as_if_applicablefile_names lintunnecessary_statements to ignore getters (as they may be side-effecting).void_checks to handle arguments not resolved to a parameterprefer_const_literals_to_create_immutablesunrelated_type_equality_checks now allows comparison between Int64 or Int32 and intunnecessary_parenthesis improved to handle cascades in cascadesNodeLintRule and UnitLintRule yielding significant performance gains all aroundprefer_final_fields (~6x)void_checksvoid_checks lintavoid_field_initializers_in_const_classes lintunnecessary_statementsavoid_js_rounded_ints lintavoid_double_and_int_checks lintprefer_const_declarationsavoid_types_as_parameter_namesprefer_iterable_whereType lintprefer_generic_function_type_aliases lintlibrary_prefixes)avoid_bool_literals_in_conditional_expressions lintprefer_equal_for_default_values lintavoid_private_typedef_functions lintavoid_single_cascade_in_expression_statements lintinvariant_booleans when analyzing for loops with no conditionavoid_types_as_parameter_names lintavoid_renaming_method_parameters lintavoid_relative_lib_imports lintunnecessary_parenthesis lintprefer_const_literals_to_create_immutables to handle undefined classes gracefullyprefer_const_declarations to support optional new and constprefer_const_declarations updated to check localsinvariant_booleans2.0.0-devprefer_const_declarations.dart lintprefer_const_literals_to_create_immutables lintavoid_unused_constructor_parameterscomment_referencesargs package dependency to support versions 1.*avoid_unused_constructor_parameters updated to better handle redirecting factory constructorsavoid_returning_this improvementsprefer_bool_in_asserts improvementsprefer_interpolation_to_compose_strings updated to allow concatenation of two non-literal stringsprefer_interpolation_to_compose_strings updated to allow +=prefer_const_constructors_in_immutables false positive with redirecting factory constructorspublic_member_api_docs fix for package URIsavoid_positional_boolean_parameters updated to allow booleans in operator declarationscomment_references fixed to handle incomplete referencesnon_constant_identifier_names updated to allow underscores around numbersavoid_unused_constructor_parameters lintprefer_bool_in_asserts lintprefer_typing_uninitialized_variables lintunnecessary_statements lintpublic_member_api_docs updated to only lint source in lib/EmptyStatements$s2.0.0-dev.infinity constraint)non_constant_identifier_names extended to include named constructors2.0.0-dev.infinityprefer_final_fields performanceunnecessary_overrides (noSuchMethod handling, return type narrowing, special casing of documented super calls)non_constant_identifier_names to handle identifiers with no nameprefer_const_constructors to support list literalsrecursive_getterscascade_invocationsprefer_const_constructors_in_immutables lintalways_put_required_named_parameters_first lintprefer_asserts_in_initializer_lists lint--benchmark modeprefer_single_quote_strings lintavoid_setters_without_gettersdirectives_ordering to work with part directives located after exportscascade_invocations false positivesliteral_only_boolean_expressions false positivescascade_invocations only lints method invocations if target is a simple identifieruse_string_buffers false positivesprefer_const_constructors-s) output now sorted.prefer_foreach lint.use_string_buffers rule.unnecessary_overrides rule.join_return_with_assignment_when_possible rule.use_to_and_as_if_applicable rule.avoid_setters_without_getters rule.always_put_control_body_on_new_line rule.avoid_positional_boolean_parameters rule.always_require_non_null_named_parameters rule.prefer_conditional_assignment rule.avoid_types_on_closure_parameters rule.always_put_control_body_on_new_line rule.use_setters_to_change_properties rule.avoid_returning_this rule.avoid_annotating_with_dynamic_when_not_required rule.prefer_constructors_over_static_methods rule.avoid_returning_null rule.avoid_classes_with_only_static_members rule.avoid_null_checks_in_equality_operators rule.avoid_catches_without_on_clauses rule.avoid_catching_errors rule.use_rethrow_when_possible rule.prefer_final_fields, unnecessary_lambdas, await_only_futures, cascade_invocations, avoid_types_on_closure_parameters, and overridden_fields).prefer_interpolation_to_compose_strings.unnecessary_this rule.prefer_initializing_formals rule.avoid_function_literals_in_foreach_calls lint.avoid_slow_async_io lint.cascade_invocations lint.directives_ordering lint.no_adjacent_strings_in_list lint.no_duplicate_case_values lint.omit_local_variable_types lint.prefer_adjacent_string_concatenation lint.prefer_collection_literals lint.prefer_const_constructors lint.prefer_contains lint.prefer_expression_function_bodies lint.prefer_function_declarations_over_variables lint.prefer_initializing_formals lint.prefer_interpolation_to_compose_strings lint.prefer_is_empty lint.recursive_getters lint.unnecessary_brace_in_string_interps lint.unnecessary_lambdas lint.unnecessary_null_aware_assignments lint.unnecessary_null_in_if_null_operators lint.cascade_invocations lint.await_only_futures to accept classes that extend or implement Future.$s.parameter_assignments (improved getter handling and an NPE).dart_type_utilities (dart-lang/sdk#27405).parameter_assignments lint.prefer_final_fields lint.prefer_final_locals lint.solo_debug (#304).test (#302).[]= in always_declare_return_types (#300).invariant_booleans lint.literal_only_boolean_expressions lint.camel_case_types to allow $ in identifiers (#290).close_sinks to respect calls to destroy (#282).only_throw_errors to report on the expression not node.whitespace_around_ops pending re-name and re-design (#249).rule:rule_name and docs:location) for rule stub and doc generation (respectively).non_constant_identifier_names.valid_regexps lint (#277).whitespace_around_ops lint (#249).overridden_fields to flag overridden static fields (#274).list_remove_unrelated_type to detect passing a non-T value to `List.remove()`` (#271).empty_catches lint to catch empty catch blocks (#43).close_sinks false positive (#268).linter support for --strong to allow for running linter in strong mode.only_throw_errors lint.empty_statements (#259).iterable_contains_unrelated_type (#267).cancel_subscriptions lint.close_sinks lint.iterable_contains_unrelated_type .iterable_contains_unrelated_type (#245).comment_references error description.overriden_field false positive (#246).lints option to rules (#248).public_member_api_docs to check for documented getters when checking setters (#237).iterable_contains_unrelated_type lint to detect when Iterable.contains is invoked with an object of an unrelated type.comment_references lint to ensure identifiers referenced in docs are in scope (#240).overriden_fields.unrelated_type_equality_checks lint.$ identifiers in string interpolation lint (#214).plugin API (0.2.0).is checks (#227).const and final vars to be initialized to null (#210).empty_constructor_bodies (#209).main when checking for API docs (#207).$ in type names (#220).test_types_in_equals lint.await_only_futures lint.throw_in_finally lint.control_flow_in_finally lint.@optionalTypeArgs (#196).public_member_api_docs).annotate_overrides, public_member_api_docs).LibraryNames regexp that in pathological cases went exponential.hashCode and == (#168).null (#160).analyzer 0.27.0.type_annotate_public_apis to properly handle getters/setters (#151; dart-lang/sdk#25092).avoid_empty_else lint rule (dart-lang/sdk#224936).package_api_docs (dart-lang/sdk#24947; #154).package_prefixed_library_names (dart-lang/sdk#24947; #154).prefer_is_not_empty lint rule (#143).type_annotate_public_apis lint rule (#24).avoid_as lint rule (#145).non_constant_identifier_names rule to special case underscore identifiers in callbacks._s in callback type validation (addresses false positives in always_specify_types) (#147).always_declare_return_types lint rule (#146).always_specify_types to detect missing types in declared identifiers and narrowed source range to the token.implementation_imports lint rule (#33).always_specify_types lint rule (#144).unnecessary_brace_in_string_interp lint. Fix #112.lib/ to use a package: URI. Fix #49.analyzer package constraints.one_member_abstracts lint. Fix #64.