removed_ lint
'{0}' was removed in Dart '{1}'
Description
#The analyzer produces this diagnostic when an analysis options file enables a lint that is no longer supported.
Example
#
The following code produces this diagnostic because the lint
always_declare_return_types is no longer supported:
// %uri="analysis_options.yaml"
linter:
rules:
- always_declare_return_types
- annotate_overrides
Common fixes
#Remove the reference to the removed lint rule:
// %uri="analysis_options.yaml"
linter:
rules:
- annotate_overrides
Unless stated otherwise, the documentation on this site reflects Dart 3.10.3. Page last updated on 2025-12-5. View source or report an issue.