From addc8889269cc38aeb64d196ca93f29e19ed9aca Mon Sep 17 00:00:00 2001 From: pq Date: Wed, 18 May 2016 11:47:44 -0700 Subject: [PATCH] Update to new analyzer and linter. Notably, this will allow us to play with * the fixed `public_member_api_docs` that now checks for documented getters when checking setters (https://github.com/dart-lang/linter/issues/237), and * the new `comment_references` lint that ensures identifiers referenced in docs are in scope (https://github.com/dart-lang/linter/issues/240). --- packages/flutter_test/pubspec.yaml | 2 +- packages/flutter_tools/pubspec.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/flutter_test/pubspec.yaml b/packages/flutter_test/pubspec.yaml index fb1a06f4e48..b50a8954599 100644 --- a/packages/flutter_test/pubspec.yaml +++ b/packages/flutter_test/pubspec.yaml @@ -10,7 +10,7 @@ dependencies: # We don't actually depend on 'analyzer', but 'test' and 'flutter_tools' do. # We pin the version of analyzer we depend on to avoid version skew across our # packages. - analyzer: 0.27.4-alpha.1 + analyzer: 0.27.4-alpha.6 flutter: path: ../flutter diff --git a/packages/flutter_tools/pubspec.yaml b/packages/flutter_tools/pubspec.yaml index 1304f7c47e8..96d3a58760e 100644 --- a/packages/flutter_tools/pubspec.yaml +++ b/packages/flutter_tools/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: http: ^0.11.3 json_rpc_2: ^2.0.0 json_schema: ^1.0.3 - linter: ^0.1.15 + linter: ^0.1.17 mustache4dart: ^1.0.0 package_config: ^0.1.3 path: ^1.3.0 @@ -35,7 +35,7 @@ dependencies: test: 0.12.13+1 # Pinned in flutter_test as well. - analyzer: 0.27.4-alpha.1 + analyzer: 0.27.4-alpha.6 dev_dependencies: mockito: ^0.11.0