root e2ef550dc3 update hace 2 años
..
.github e2ef550dc3 update hace 2 años
.vscode e2ef550dc3 update hace 2 años
test e2ef550dc3 update hace 2 años
.editorconfig e2ef550dc3 update hace 2 años
.eslintignore e2ef550dc3 update hace 2 años
.eslintrc.js e2ef550dc3 update hace 2 años
.prettierignore e2ef550dc3 update hace 2 años
.prettierrc e2ef550dc3 update hace 2 años
LICENSE.md e2ef550dc3 update hace 2 años
README.md e2ef550dc3 update hace 2 años
index.js e2ef550dc3 update hace 2 años
package.json e2ef550dc3 update hace 2 años

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