We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41be30a commit 87ca615Copy full SHA for 87ca615
src/utils/get-node-range.ts
@@ -1,7 +1,6 @@
1
import { ASTUtils, type TSESLint, type TSESTree } from '@typescript-eslint/utils'
2
3
import { getCommentBefore } from './get-comment.js'
4
-import { isPartitionComment } from './is-partition-comment.js'
5
6
export function getNodeRange(
7
node: TSESTree.Node,
@@ -37,10 +36,7 @@ export function getNodeRange(
37
36
}
38
39
40
- if (
41
- comment &&
42
- !isPartitionComment(additionalOptions?.partitionComment ?? false, comment.value)
43
- ) {
+ if (comment) {
44
start = comment.range.at(0)!
45
46
src/utils/is-partition-comment.ts
0 commit comments