Skip to content

unnecessary_brace_in_string_interps does not work with "this" keyword #58874

Closed
dart-archive/linter
#3694
@masreplay

Description

@masreplay

Describe the issue
if I write print("that ${this}"); lint doesn't tell me that Avoid using braces in interpolation when not needed in vs code

To Reproduce
print("that ${this}");

Expected behavior
lint suggest to use this print("that $this");

Additional context
image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions