- Parser
typescript-eslint
is removed. Use thetypescript
parser instead. prettier.util.mapDoc
is removed. Useprettier.doc.utils.mapDoc
instead.prettier.util.isNextLineEmpty
is updated.
UseisNextLineEmpty(text, node, locEnd)
instead ofisNextLineEmpty(text, node, options)
.prettier.util.isPreviousLineEmpty
is updated.
UseisPreviousLineEmpty(text, node, locStart)
instead ofisPreviousLineEmpty(text, node, options)
.prettier.util.getNextNonSpaceNonCommentCharacterIndex
is updated.
UsegetNextNonSpaceNonCommentCharacterIndex(text, node, locEnd)
instead ofgetNextNonSpaceNonCommentCharacterIndex(text, node, options)
.