root e2ef550dc3 update 2 年之前
..
.github e2ef550dc3 update 2 年之前
.vscode e2ef550dc3 update 2 年之前
test e2ef550dc3 update 2 年之前
.editorconfig e2ef550dc3 update 2 年之前
.eslintignore e2ef550dc3 update 2 年之前
.eslintrc.js e2ef550dc3 update 2 年之前
.prettierignore e2ef550dc3 update 2 年之前
.prettierrc e2ef550dc3 update 2 年之前
LICENSE.md e2ef550dc3 update 2 年之前
README.md e2ef550dc3 update 2 年之前
index.js e2ef550dc3 update 2 年之前
package.json e2ef550dc3 update 2 年之前

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