Skip to content

Commit

Permalink
update lints (dart-archive/html#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Jun 25, 2024
1 parent a24637a commit 37ebcdc
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion pkgs/html/lib/dom.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// A simple tree API that results from parsing html. Intended to be compatible
/// with dart:html, but it is missing many types and APIs.
library dom;
library;

// ignore_for_file: constant_identifier_names

Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/lib/dom_parsing.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// This library contains extra APIs that aren't in the DOM, but are useful
/// when interacting with the parse tree.
library dom_parsing;
library;

import 'dom.dart';
import 'html_escape.dart';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/lib/parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
///
/// The resulting document you get back has a DOM-like API for easy tree
/// traversal and manipulation.
library parser;
library;

import 'dart:collection';
import 'dart:math';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/lib/src/list_proxy.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// A [List] proxy that you can subclass.
library list_proxy;
library;

import 'dart:collection';

Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/lib/src/query_selector.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Query selector implementation for our DOM.
library html.src.query;
library;

import 'package:csslib/parser.dart';
import 'package:csslib/visitor.dart';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/lib/src/token.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// This library contains token types used by the html5 tokenizer.
library token;
library;

import 'dart:collection';

Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/lib/src/treebuilder.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Internals to the tree builders.
library treebuilder;
library;

import 'dart:collection';

Expand Down
4 changes: 2 additions & 2 deletions pkgs/html/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ dependencies:
source_span: ^1.8.0

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
path: ^1.8.0
test: ^1.16.0
test: ^1.16.6
2 changes: 1 addition & 1 deletion pkgs/html/test/dom_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Additional feature tests that aren't based on test data.
library dom_test;
library;

import 'package:html/dom.dart';
import 'package:html/parser.dart';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/test/parser_feature_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Additional feature tests that aren't based on test data.
library parser_feature_test;
library;

import 'package:html/dom.dart';
import 'package:html/parser.dart';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/test/parser_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@TestOn('vm')
library parser_test;
library;

import 'dart:convert';

Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/test/selectors/level1_baseline_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/// an iframe, but instead operate over a parsed DOM.
@TestOn('vm')
library html.test.selectors.level1_baseline_test;
library;

import 'dart:io';

Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/test/selectors/level1_lib.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/// As usual with ports: being faithful to the original style is more important
/// than other style goals, as it reduces friction to integrating changes
/// from upstream.
library html.test.selectors.level1_lib;
library;

import 'package:html/dom.dart';
import 'package:test/test.dart' as unittest;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/test/selectors/selectors.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// Test for the Selectors API ported from
/// <https://github.com/w3c/web-platform-tests/tree/master/selectors-api>
library html.test.selectors.selectors;
library;

// Bit-mapped flags to indicate which tests the selector is suitable for
final int testQsaBaseline =
Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/test/support.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Support code for the tests in this directory.
library support;
library;

import 'dart:collection';
import 'dart:io';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/html/test/tokenizer_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@TestOn('vm')
library tokenizer_test;
library;

import 'dart:convert';
import 'dart:io';
Expand Down

0 comments on commit 37ebcdc

Please sign in to comment.