Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1726)

Unified Diff: pkg/analyzer_cli/test/data/flutter_analysis_options/somepkgs/flutter/lib/analysis_options_user.yaml

Issue 2710313002: rework analyzer_cli to use ContextBuilder getAnalysisOptions (Closed)
Patch Set: remove commented code Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer_cli/test/data/flutter_analysis_options/somepkgs/flutter/lib/analysis_options_user.yaml
diff --git a/pkg/analyzer_cli/test/data/flutter_analysis_options/somepkgs/flutter/lib/analysis_options_user.yaml b/pkg/analyzer_cli/test/data/flutter_analysis_options/somepkgs/flutter/lib/analysis_options_user.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..30dba358ed504601c9a5e8f534ccbba56330a7de
--- /dev/null
+++ b/pkg/analyzer_cli/test/data/flutter_analysis_options/somepkgs/flutter/lib/analysis_options_user.yaml
@@ -0,0 +1,14 @@
+analyzer:
+ language:
+ enableStrictCallChecks: true
+ 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
+ strong_mode_down_cast_composite: ignore
+ # allow having TODOs in the code
+ todo: ignore

Powered by Google App Engine
This is Rietveld 408576698