zhaojinyu e984acc6d0 first commit 10 月之前
..
.github e984acc6d0 first commit 10 月之前
.vscode e984acc6d0 first commit 10 月之前
test e984acc6d0 first commit 10 月之前
.editorconfig e984acc6d0 first commit 10 月之前
.eslintignore e984acc6d0 first commit 10 月之前
.eslintrc.js e984acc6d0 first commit 10 月之前
.prettierignore e984acc6d0 first commit 10 月之前
.prettierrc e984acc6d0 first commit 10 月之前
LICENSE.md e984acc6d0 first commit 10 月之前
README.md e984acc6d0 first commit 10 月之前
index.js e984acc6d0 first commit 10 月之前
package.json e984acc6d0 first commit 10 月之前

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