Skip to content

Commit 37ebcdc

Browse files
authored
update lints (dart-archive/html#249)
1 parent a24637a commit 37ebcdc

16 files changed

+17
-17
lines changed

pkgs/html/lib/dom.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// A simple tree API that results from parsing html. Intended to be compatible
22
/// with dart:html, but it is missing many types and APIs.
3-
library dom;
3+
library;
44

55
// ignore_for_file: constant_identifier_names
66

pkgs/html/lib/dom_parsing.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// This library contains extra APIs that aren't in the DOM, but are useful
22
/// when interacting with the parse tree.
3-
library dom_parsing;
3+
library;
44

55
import 'dom.dart';
66
import 'html_escape.dart';

pkgs/html/lib/parser.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
///
1212
/// The resulting document you get back has a DOM-like API for easy tree
1313
/// traversal and manipulation.
14-
library parser;
14+
library;
1515

1616
import 'dart:collection';
1717
import 'dart:math';

pkgs/html/lib/src/list_proxy.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// A [List] proxy that you can subclass.
2-
library list_proxy;
2+
library;
33

44
import 'dart:collection';
55

pkgs/html/lib/src/query_selector.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// Query selector implementation for our DOM.
2-
library html.src.query;
2+
library;
33

44
import 'package:csslib/parser.dart';
55
import 'package:csslib/visitor.dart';

pkgs/html/lib/src/token.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// This library contains token types used by the html5 tokenizer.
2-
library token;
2+
library;
33

44
import 'dart:collection';
55

pkgs/html/lib/src/treebuilder.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// Internals to the tree builders.
2-
library treebuilder;
2+
library;
33

44
import 'dart:collection';
55

pkgs/html/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ dependencies:
1515
source_span: ^1.8.0
1616

1717
dev_dependencies:
18-
dart_flutter_team_lints: ^2.0.0
18+
dart_flutter_team_lints: ^3.0.0
1919
path: ^1.8.0
20-
test: ^1.16.0
20+
test: ^1.16.6

pkgs/html/test/dom_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// Additional feature tests that aren't based on test data.
2-
library dom_test;
2+
library;
33

44
import 'package:html/dom.dart';
55
import 'package:html/parser.dart';

pkgs/html/test/parser_feature_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// Additional feature tests that aren't based on test data.
2-
library parser_feature_test;
2+
library;
33

44
import 'package:html/dom.dart';
55
import 'package:html/parser.dart';

pkgs/html/test/parser_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@TestOn('vm')
2-
library parser_test;
2+
library;
33

44
import 'dart:convert';
55

pkgs/html/test/selectors/level1_baseline_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/// an iframe, but instead operate over a parsed DOM.
66
77
@TestOn('vm')
8-
library html.test.selectors.level1_baseline_test;
8+
library;
99

1010
import 'dart:io';
1111

pkgs/html/test/selectors/level1_lib.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/// As usual with ports: being faithful to the original style is more important
88
/// than other style goals, as it reduces friction to integrating changes
99
/// from upstream.
10-
library html.test.selectors.level1_lib;
10+
library;
1111

1212
import 'package:html/dom.dart';
1313
import 'package:test/test.dart' as unittest;

pkgs/html/test/selectors/selectors.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// Test for the Selectors API ported from
22
/// <https://github.com/w3c/web-platform-tests/tree/master/selectors-api>
3-
library html.test.selectors.selectors;
3+
library;
44

55
// Bit-mapped flags to indicate which tests the selector is suitable for
66
final int testQsaBaseline =

pkgs/html/test/support.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// Support code for the tests in this directory.
2-
library support;
2+
library;
33

44
import 'dart:collection';
55
import 'dart:io';

pkgs/html/test/tokenizer_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@TestOn('vm')
2-
library tokenizer_test;
2+
library;
33

44
import 'dart:convert';
55
import 'dart:io';

0 commit comments

Comments
 (0)