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
39f7d58b
Commit
39f7d58b
authored
Feb 13, 2017
by
Phil Quitslund
Committed by
GitHub
Feb 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Escalate `missing_required_param` hints to warnings (#8087). (#8096)
Fixes: #8087.
parent
d4550fd4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
.analysis_options
.analysis_options
+2
-0
.analysis_options_repo
.analysis_options_repo
+2
-0
analysis_options_user.yaml
packages/flutter/lib/analysis_options_user.yaml
+2
-0
No files found.
.analysis_options
View file @
39f7d58b
...
...
@@ -24,6 +24,8 @@ analyzer:
strong-mode:
implicit-dynamic: false
errors:
# treat missing required parameters as a warning (not a hint)
missing_required_param: warning
# allow overriding fields (if they use super, ideally...)
strong_mode_invalid_field_override: ignore
# allow type narrowing
...
...
.analysis_options_repo
View file @
39f7d58b
...
...
@@ -25,6 +25,8 @@ analyzer:
strong-mode:
implicit-dynamic: false
errors:
# treat missing required parameters as a warning (not a hint)
missing_required_param: warning
# allow overriding fields (if they use super, ideally...)
strong_mode_invalid_field_override: ignore
# allow type narrowing
...
...
packages/flutter/lib/analysis_options_user.yaml
View file @
39f7d58b
...
...
@@ -25,6 +25,8 @@ analyzer:
enableSuperMixins
:
true
strong-mode
:
true
errors
:
# treat missing required parameters as a warning (not a hint)
missing_required_param
:
warning
# allow overriding fields (if they use super, ideally...)
strong_mode_invalid_field_override
:
ignore
# allow type narrowing
...
...
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