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

Unified Diff: pkg/analyzer_cli/analysis_options.yaml

Issue 2933713002: Add a couple of lints to the options files (Closed)
Patch Set: Created 3 years, 6 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/analysis_options.yaml
diff --git a/pkg/analyzer_cli/analysis_options.yaml b/pkg/analyzer_cli/analysis_options.yaml
index dc60267c75f723bbdef1dbc534c0e6d4c3ac1f8d..e677bd8608b97fe3febad83137ba66a1b0675908 100644
--- a/pkg/analyzer_cli/analysis_options.yaml
+++ b/pkg/analyzer_cli/analysis_options.yaml
@@ -2,3 +2,9 @@ analyzer:
strong-mode: true
exclude:
- 'test/data'
+linter:
+ rules:
+ - empty_constructor_bodies
+ - empty_statements
+ - unnecessary_brace_in_string_interp
+ - valid_regexps
« no previous file with comments | « pkg/analyzer/test/src/task/strong/strong_test_helper.dart ('k') | pkg/analyzer_plugin/analysis_options.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698