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
a237b47c
Commit
a237b47c
authored
Mar 11, 2016
by
Phil Quitslund
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2629 from pq/options_mig
Migrate flutter analyze config to options.
parents
91bcf663
0aa07baf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
.analysis_options
packages/flutter_tools/.analysis_options
+3
-0
analyze.dart
packages/flutter_tools/lib/src/commands/analyze.dart
+1
-3
No files found.
packages/flutter_tools/.analysis_options
View file @
a237b47c
...
...
@@ -5,6 +5,9 @@
# For a list of lints, see: http://dart-lang.github.io/linter/lints/
analyzer:
language:
enableSuperMixins: true
strong-mode: false #TODO(pq): enable once strong-mode runs clean
errors:
# we allow overriding fields (if they use super, ideally...)
strong_mode_invalid_field_override: ignore
...
...
packages/flutter_tools/lib/src/commands/analyze.dart
View file @
a237b47c
...
...
@@ -283,10 +283,8 @@ class AnalyzeCommand extends FlutterCommand {
sdkBinaryName
(
'dartanalyzer'
),
// do not set '--warnings', since that will include the entire Dart SDK
'--ignore-unrecognized-flags'
,
'--supermixin'
,
'--enable-strict-call-checks'
,
'--enable-strict-call-checks'
,
//TODO(pq): migrate to options once supported (dart/sdk#25983)
'--enable_type_checks'
,
'--strong'
,
'--package-warnings'
,
'--fatal-warnings'
,
'--fatal-hints'
,
...
...
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