Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

update lints #249

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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