securityos/node_modules/prettier-linter-helpers
Berkeley 927854894b First commit 2024-09-06 12:32:35 -03:00
..
.github First commit 2024-09-06 12:32:35 -03:00
.vscode First commit 2024-09-06 12:32:35 -03:00
test First commit 2024-09-06 12:32:35 -03:00
.editorconfig First commit 2024-09-06 12:32:35 -03:00
.eslintignore First commit 2024-09-06 12:32:35 -03:00
.eslintrc.js First commit 2024-09-06 12:32:35 -03:00
.prettierignore First commit 2024-09-06 12:32:35 -03:00
.prettierrc First commit 2024-09-06 12:32:35 -03:00
LICENSE.md First commit 2024-09-06 12:32:35 -03:00
README.md First commit 2024-09-06 12:32:35 -03:00
index.js First commit 2024-09-06 12:32:35 -03:00
package.json First commit 2024-09-06 12:32:35 -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