glam/node_modules/.pnpm/prettier-linter-helpers@1.0.1/node_modules/prettier-linter-helpers
2026-01-08 15:56:28 +01:00
..
index.d.ts update frontend 2026-01-08 15:56:28 +01:00
index.js update frontend 2026-01-08 15:56:28 +01:00
LICENSE.md update frontend 2026-01-08 15:56:28 +01:00
package.json update frontend 2026-01-08 15:56:28 +01:00
README.md update frontend 2026-01-08 15:56:28 +01:00

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