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

Unified Diff: pkg/polymer/lib/transformer.dart

Issue 112843004: Add linter by default for polymer's pub-build, also cleans up the linter code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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/polymer/lib/transformer.dart
diff --git a/pkg/polymer/lib/transformer.dart b/pkg/polymer/lib/transformer.dart
index 735fac32cd65aa041be3cb41fe445b19fa1041ac..960d9dfec448cc33c71c83089ca3dd504c5f9950 100644
--- a/pkg/polymer/lib/transformer.dart
+++ b/pkg/polymer/lib/transformer.dart
@@ -12,6 +12,7 @@ import 'src/build/build_filter.dart';
import 'src/build/code_extractor.dart';
import 'src/build/common.dart';
import 'src/build/import_inliner.dart';
+import 'src/build/linter.dart';
import 'src/build/polyfill_injector.dart';
import 'src/build/script_compactor.dart';
@@ -69,6 +70,7 @@ _readEntrypoints(value) {
List<List<Transformer>> _createDeployPhases(TransformOptions options) {
return [
+ [new Linter(options)],
[new InlineCodeExtractor(options)],
[new ObservableTransformer()],
[new ImportInliner(options)],

Powered by Google App Engine
This is Rietveld 408576698