HckApm/node_modules/prettier-linter-helpers
minicx 99e5f883a3 second commit 2023-12-23 14:56:27 +03:00
..
.github second commit 2023-12-23 14:56:27 +03:00
.vscode second commit 2023-12-23 14:56:27 +03:00
test second commit 2023-12-23 14:56:27 +03:00
.editorconfig second commit 2023-12-23 14:56:27 +03:00
.eslintignore second commit 2023-12-23 14:56:27 +03:00
.eslintrc.js second commit 2023-12-23 14:56:27 +03:00
.prettierignore second commit 2023-12-23 14:56:27 +03:00
.prettierrc second commit 2023-12-23 14:56:27 +03:00
LICENSE.md second commit 2023-12-23 14:56:27 +03:00
README.md second commit 2023-12-23 14:56:27 +03:00
index.js second commit 2023-12-23 14:56:27 +03:00
package.json second commit 2023-12-23 14:56:27 +03:00

README.md

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