Skip to content

Commit 4e2d1a9

Browse files
fvictorioJanther
authored andcommitted
Remove some unused functions
1 parent d716cee commit 4e2d1a9

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/common/util.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { util, version } from 'prettier';
22
import satisfies from 'semver/functions/satisfies.js';
33

4-
export const prettierVersionSatisfies = (range) => satisfies(version, range);
5-
64
export function printString(rawContent, options) {
75
const double = { quote: '"', regex: /"/g };
86
const single = { quote: "'", regex: /'/g };

src/prettier-comments/language-js/comments.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,3 @@ function handleTSMappedTypeComments(
824824

825825
return false;
826826
}
827-
828-
export function isBlockComment(comment) {
829-
return comment.type === "Block" || comment.type === "CommentBlock";
830-
}

0 commit comments

Comments
 (0)