avoid_relative_lib_imports
lintunnecessary_parenthesis
lintprefer_const_literals_to_create_immutables
to handle undefined classes gracefullyprefer_const_declarations
to support optional new
and const
prefer_const_declarations
updated to check localsinvariant_booleans
2.0.0-dev
prefer_const_declarations.dart
lintprefer_const_literals_to_create_immutables
lintavoid_unused_constructor_parameters
comment_references
args
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/
EmptyStatement
s$
s2.0.0-dev.infinity
constraint)non_constant_identifier_names
extended to include named constructors2.0.0-dev.infinity
prefer_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_getters
cascade_invocations
prefer_const_constructors_in_immutables
lintalways_put_required_named_parameters_first
lintprefer_asserts_in_initializer_lists
lint--benchmark
modeprefer_single_quote_strings
lintavoid_setters_without_getters
directives_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_field
s.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.