diff --git a/lib/src/ast/sass/expression/if.dart b/lib/src/ast/sass/expression/if.dart index b26a77c46..99f1898c1 100644 --- a/lib/src/ast/sass/expression/if.dart +++ b/lib/src/ast/sass/expression/if.dart @@ -6,9 +6,6 @@ import 'package:source_span/source_span.dart'; import '../../../ast/sass.dart'; import '../../../visitor/interface/expression.dart'; -import '../expression.dart'; -import '../argument_invocation.dart'; -import '../callable_invocation.dart'; /// A ternary expression. /// diff --git a/lib/src/async_import_cache.dart b/lib/src/async_import_cache.dart index 1eb044c2f..58e5a1b6d 100644 --- a/lib/src/async_import_cache.dart +++ b/lib/src/async_import_cache.dart @@ -8,7 +8,6 @@ import 'package:tuple/tuple.dart'; import 'ast/sass.dart'; import 'importer.dart'; -import 'importer/result.dart'; import 'importer/utils.dart'; import 'io.dart'; import 'logger.dart'; diff --git a/lib/src/callable/built_in.dart b/lib/src/callable/built_in.dart index 426b601c1..58a9c5818 100644 --- a/lib/src/callable/built_in.dart +++ b/lib/src/callable/built_in.dart @@ -7,7 +7,6 @@ import 'package:tuple/tuple.dart'; import '../ast/sass.dart'; import '../callable.dart'; import '../value.dart'; -import 'async_built_in.dart'; typedef _Callback = Value Function(List arguments); diff --git a/lib/src/functions/color.dart b/lib/src/functions/color.dart index 5112492b4..1f5e73520 100644 --- a/lib/src/functions/color.dart +++ b/lib/src/functions/color.dart @@ -666,10 +666,11 @@ void _checkAngle(SassNumber angle, [String name]) { void _checkPercent(SassNumber number, String name) { if (number.hasUnit('%')) return; - warn("\$$name: Passing a number without unit % is deprecated.\n" + warn( + "\$$name: Passing a number without unit % is deprecated.\n" "\n" "To preserve current behavior: \$$name${_removeUnits(number)} * 1%", - deprecation: true); + deprecation: true); } /// Returns the right-hand side of an expression that would remove all units diff --git a/lib/src/import_cache.dart b/lib/src/import_cache.dart index 1ac8ad7d5..96c5d628a 100644 --- a/lib/src/import_cache.dart +++ b/lib/src/import_cache.dart @@ -5,7 +5,7 @@ // DO NOT EDIT. This file was generated from async_import_cache.dart. // See tool/grind/synchronize.dart for details. // -// Checksum: ac91c195e290010a7e104f832a00a5ebb41a127a +// Checksum: 6ac1ee07d6b46134f1616d82782180f1cc3b6d81 // // ignore_for_file: unused_import @@ -15,7 +15,6 @@ import 'package:tuple/tuple.dart'; import 'ast/sass.dart'; import 'importer.dart'; -import 'importer/result.dart'; import 'importer/utils.dart'; import 'io.dart'; import 'logger.dart'; diff --git a/lib/src/importer/filesystem.dart b/lib/src/importer/filesystem.dart index ef6592318..ac02f7b96 100644 --- a/lib/src/importer/filesystem.dart +++ b/lib/src/importer/filesystem.dart @@ -8,7 +8,6 @@ import 'package:path/path.dart' as p; import '../importer.dart'; import '../io.dart' as io; import '../syntax.dart'; -import 'result.dart'; import 'utils.dart'; /// An importer that loads files from a load path on the filesystem. diff --git a/lib/src/importer/no_op.dart b/lib/src/importer/no_op.dart index 7868285ae..dde55c060 100644 --- a/lib/src/importer/no_op.dart +++ b/lib/src/importer/no_op.dart @@ -3,7 +3,6 @@ // https://opensource.org/licenses/MIT. import '../importer.dart'; -import 'result.dart'; /// An importer that never imports any stylesheets. /// diff --git a/lib/src/importer/package.dart b/lib/src/importer/package.dart index 3897dae20..79eded476 100644 --- a/lib/src/importer/package.dart +++ b/lib/src/importer/package.dart @@ -6,8 +6,6 @@ import 'package:meta/meta.dart'; import '../importer.dart'; import '../sync_package_resolver.dart'; -import 'filesystem.dart'; -import 'result.dart'; /// A filesystem importer to use when resolving the results of `package:` URLs. /// diff --git a/lib/src/parse/stylesheet.dart b/lib/src/parse/stylesheet.dart index de5613632..134ff11ce 100644 --- a/lib/src/parse/stylesheet.dart +++ b/lib/src/parse/stylesheet.dart @@ -19,7 +19,6 @@ import '../logger.dart'; import '../util/character.dart'; import '../utils.dart'; import '../value.dart'; -import '../value/color.dart'; import 'parser.dart'; /// The base class for both the SCSS and indented syntax parsers. diff --git a/lib/src/stylesheet_graph.dart b/lib/src/stylesheet_graph.dart index 5dbb07a2b..02e8f7481 100644 --- a/lib/src/stylesheet_graph.dart +++ b/lib/src/stylesheet_graph.dart @@ -2,8 +2,6 @@ // MIT-style license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. -import 'dart:collection'; - import 'package:collection/collection.dart'; import 'package:meta/meta.dart'; import 'package:path/path.dart' as p; diff --git a/test/dart_api/value/color_test.dart b/test/dart_api/value/color_test.dart index dba3b7b5f..1fda28a75 100644 --- a/test/dart_api/value/color_test.dart +++ b/test/dart_api/value/color_test.dart @@ -250,7 +250,8 @@ void main() { group("new SassColor.hsl()", () { test("allows valid values", () { - expect(SassColor.hsl(0, 0, 0, 0), equals(parseValue("hsla(0, 0%, 0%, 0)"))); + expect( + SassColor.hsl(0, 0, 0, 0), equals(parseValue("hsla(0, 0%, 0%, 0)"))); expect(SassColor.hsl(4320, 100, 100, 1), equals(parseValue("hsl(4320, 100%, 100%)"))); });