Skip to content

Commit e6d8f9f

Browse files
committed
refactor(linter/plugins): update outdated comment
1 parent 699c91c commit e6d8f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/oxlint/src-js/plugins/source_code.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export const SOURCE_CODE = Object.freeze({
161161
*/
162162
getAllComments(): Comment[] {
163163
if (ast === null) initAst();
164-
// TODO: Deserializing strings is expensive, make this access lazy
164+
// `comments` property is a getter. Comments are deserialized lazily.
165165
return ast.comments;
166166
},
167167

0 commit comments

Comments
 (0)