Skip to content

Commit 87ca615

Browse files
committed
Remove unused utility
1 parent 41be30a commit 87ca615

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

src/utils/get-node-range.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { ASTUtils, type TSESLint, type TSESTree } from '@typescript-eslint/utils'
22

33
import { getCommentBefore } from './get-comment.js'
4-
import { isPartitionComment } from './is-partition-comment.js'
54

65
export function getNodeRange(
76
node: TSESTree.Node,
@@ -37,10 +36,7 @@ export function getNodeRange(
3736
}
3837
}
3938

40-
if (
41-
comment &&
42-
!isPartitionComment(additionalOptions?.partitionComment ?? false, comment.value)
43-
) {
39+
if (comment) {
4440
start = comment.range.at(0)!
4541
}
4642

src/utils/is-partition-comment.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)