Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 785 Bytes

pr-6993.md

File metadata and controls

21 lines (11 loc) · 785 Bytes

Remove deprecated API (#6993 by @fisker)

  • Parser typescript-eslint is removed.

    Use typescript instead.

  • prettier.util.mapDoc is removed

    Use prettier.doc.utils.mapDoc instead.

  • prettier.util.isNextLineEmpty is updated

    Use isNextLineEmpty(text, node, locEnd) instead of isNextLineEmpty(text, node, options).

  • prettier.util.isPreviousLineEmpty is updated

    Use isPreviousLineEmpty(text, node, locStart) instead of isNextLineEmpty(text, node, options).

  • prettier.util.getNextNonSpaceNonCommentCharacterIndex is updated

    Use getNextNonSpaceNonCommentCharacterIndex(text, node, locEnd) instead of getNextNonSpaceNonCommentCharacterIndex(text, node, options).