From 583457dc75cf6423cffd2680a1f6c59f9418b89a Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Wed, 22 Sep 2021 10:17:05 +1000 Subject: [PATCH] Drop author from pubspecs, organise imports (#899) --- web/particle_background/pubspec.yaml | 1 - web/samples_index/lib/cookbook.dart | 4 ++-- web/samples_index/lib/src/data.dart | 2 +- web/samples_index/pubspec.yaml | 1 - web/samples_index/tool/grind.dart | 4 ++-- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/web/particle_background/pubspec.yaml b/web/particle_background/pubspec.yaml index acc57d297..75460d64f 100644 --- a/web/particle_background/pubspec.yaml +++ b/web/particle_background/pubspec.yaml @@ -1,6 +1,5 @@ name: particle_background description: Example for the simple_animations package -author: Felix Blaschke homepage: https://github.com/felixblaschke/simple_animations environment: diff --git a/web/samples_index/lib/cookbook.dart b/web/samples_index/lib/cookbook.dart index 94a6e12c3..2db0bbd67 100644 --- a/web/samples_index/lib/cookbook.dart +++ b/web/samples_index/lib/cookbook.dart @@ -4,12 +4,12 @@ import 'dart:io'; +import 'package:html/parser.dart' show parse; +import 'package:path/path.dart' as path; import 'package:samples_index/src/data.dart'; /// Utilities for generating cookbook article data import 'package:webdriver/io.dart'; -import 'package:html/parser.dart' show parse; -import 'package:path/path.dart' as path; class CookbookScraper { late WebDriver _driver; diff --git a/web/samples_index/lib/src/data.dart b/web/samples_index/lib/src/data.dart index b5e9008ff..4deb247fc 100644 --- a/web/samples_index/lib/src/data.dart +++ b/web/samples_index/lib/src/data.dart @@ -6,8 +6,8 @@ library data; import 'package:json_annotation/json_annotation.dart'; -import 'package:samples_index/src/util.dart' as util; import 'package:path/path.dart' as path; +import 'package:samples_index/src/util.dart' as util; part 'data.g.dart'; diff --git a/web/samples_index/pubspec.yaml b/web/samples_index/pubspec.yaml index fcb3e970e..783fda3f9 100644 --- a/web/samples_index/pubspec.yaml +++ b/web/samples_index/pubspec.yaml @@ -1,7 +1,6 @@ name: samples_index description: A visual index of Flutter samples homepage: https://github.com/flutter/samples_index -author: Flutter Team version: 0.0.1 environment: sdk: ">=2.12.0 <3.0.0" diff --git a/web/samples_index/tool/grind.dart b/web/samples_index/tool/grind.dart index aa4e02cf5..9a65cef08 100644 --- a/web/samples_index/tool/grind.dart +++ b/web/samples_index/tool/grind.dart @@ -6,11 +6,11 @@ import 'dart:convert'; import 'dart:io'; import 'package:grinder/grinder.dart'; +import 'package:image/image.dart' as image; import 'package:path/path.dart' as path; +import 'package:samples_index/cookbook.dart'; import 'package:samples_index/samples_index.dart'; import 'package:samples_index/src/templates.dart' as templates; -import 'package:samples_index/cookbook.dart'; -import 'package:image/image.dart' as image; Future main(List args) => grind(args);