Name Last Update
..
.github Loading commit data...
.vscode Loading commit data...
test Loading commit data...
.editorconfig Loading commit data...
.eslintignore Loading commit data...
.eslintrc.js Loading commit data...
.prettierignore Loading commit data...
.prettierrc Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
index.js Loading commit data...
package.json Loading commit data...

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