Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest lints and fix problems #2578

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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 _analysis_config/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ environment:
sdk: ^3.1.0

dependencies:
lints: ^4.0.0
lints: ^5.0.0
2 changes: 1 addition & 1 deletion dwds/lib/src/debugging/inspector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ class AppInspector implements AppInspectorInterface {
return _instanceHelper.metadataHelper.isNativeJsError(instanceRef.classRef);
}

/// Request and cache <ScriptRef>s for all the scripts in the application.
/// Request and cache `<ScriptRef>`s for all the scripts in the application.
///
/// This populates [_scriptRefsById], [_scriptIdToLibraryId],
/// [_libraryIdToScriptRefs] and [_serverPathToScriptRef].
Expand Down
4 changes: 2 additions & 2 deletions dwds/lib/src/debugging/metadata/class.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ class ClassMetaData {

/// Type name for Type instances.
///
/// For example, 'int', 'String', 'MyClass', 'List<int>'.
/// For example, `int`, `String`, `MyClass`, `List<int>`.
final String? typeName;

/// The length of the object, if applicable.
final int? length;

/// The dart type name for the object.
///
/// For example, 'int', 'List<String>', 'Null'
/// For example, `int`, `List<String>`, `Null`
String? get dartName => classRef.name;

/// Class ref for the class metadata.
Expand Down
Loading
Loading