Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
d3209379
Unverified
Commit
d3209379
authored
Mar 03, 2021
by
Michael Goderbauer
Committed by
GitHub
Mar 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable provide_deprecation_message (#77106)
parent
6586a069
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
analysis_options.yaml
analysis_options.yaml
+1
-1
deprecation.dart
...est/analyze-test-input/root/packages/foo/deprecation.dart
+1
-1
No files found.
analysis_options.yaml
View file @
d3209379
...
...
@@ -181,7 +181,7 @@ linter:
-
prefer_spread_collections
-
prefer_typing_uninitialized_variables
-
prefer_void_to_null
# - provide_deprecation_message # not yet tested
-
provide_deprecation_message
# - public_member_api_docs # enabled on a case-by-case basis; see e.g. packages/analysis_options.yaml
-
recursive_getters
# - sized_box_for_whitespace # not yet tested
...
...
dev/bots/test/analyze-test-input/root/packages/foo/deprecation.dart
View file @
d3209379
...
...
@@ -26,7 +26,7 @@ void test3() { }
)
void
test4
(
)
{
}
@deprecated
//
no
message
@deprecated
//
ignore: provide_deprecation_
message
void
test5
(
)
{
}
@Deprecated
(
'Not the right syntax. This feature was deprecated after v1.2.3.'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment