-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: qualityA truly polished experienceA truly polished experiencec: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.dependency: dartDart team may need to help usDart team may need to help usframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Description
Once #81417 has been in one or two stable releases we should officially deprecate analysis_options_user.yaml and nudge people to migrate to package:flutter_lints with some kind of a deprecation message.
We need to show a deprecation massage with note to upgrade to people if they
- include
analysis_options_user.yamlin their ownanalysis_options.yamlfile (e.g. by specifyinginclude: package:flutter/analysis_options_user.yaml) - analyze a flutter project that doesn't have a
analysis_options.yamlfile defined causing the analyzer to implicitly fall back toanalysis_options_user.yaml(this fallback is hard-coded in the analyzer, I believe?)
In those situations, the deprecation message must surface for people who run flutter analyze on the command line as well as for people who analyze their code in the IDE (e.g. as a warning in the "Dart Analysis" tab of the IDE).
The deprecation message can link to the migration guide which shows people how to upgrade their project to package:flutter_lints: https://flutter.dev/docs/release/breaking-changes/flutter-lints-package
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: qualityA truly polished experienceA truly polished experiencec: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.dependency: dartDart team may need to help usDart team may need to help usframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team