hrms-manual/node_modules/prettier-linter-helpers
2023-09-06 14:51:44 +07:00
..
.github first commit 2023-09-06 14:51:44 +07:00
.vscode first commit 2023-09-06 14:51:44 +07:00
test first commit 2023-09-06 14:51:44 +07:00
.editorconfig first commit 2023-09-06 14:51:44 +07:00
.eslintignore first commit 2023-09-06 14:51:44 +07:00
.eslintrc.js first commit 2023-09-06 14:51:44 +07:00
.prettierignore first commit 2023-09-06 14:51:44 +07:00
.prettierrc first commit 2023-09-06 14:51:44 +07:00
index.js first commit 2023-09-06 14:51:44 +07:00
LICENSE.md first commit 2023-09-06 14:51:44 +07:00
package.json first commit 2023-09-06 14:51:44 +07:00
README.md first commit 2023-09-06 14:51:44 +07: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