prettier-linter-helpers
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/prettier-linter-helpers package

1.0.0 • Public • Published

prettier-linter-helpers

Helper functions for exposing prettier changes within linting tools.

This package contains:

  • showInvisibles(string) - Replace invisible characters with ones you can see for for easier diffing.
  • generateDifferences(source, prettierSource) - Generate an array of differences between two strings.

Inspiration

This code was extracted from eslint-plugin-prettier v2.7.0

/prettier-linter-helpers/

    Package Sidebar

    Install

    npm i prettier-linter-helpers

    Weekly Downloads

    10,342,608

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    9.58 kB

    Total Files

    16

    Last publish

    Collaborators

    • bpscott