haojianlong d7cf0f08e0 'init' 4 年之前
..
.github d7cf0f08e0 'init' 4 年之前
.vscode d7cf0f08e0 'init' 4 年之前
test d7cf0f08e0 'init' 4 年之前
.editorconfig d7cf0f08e0 'init' 4 年之前
.eslintignore d7cf0f08e0 'init' 4 年之前
.eslintrc.js d7cf0f08e0 'init' 4 年之前
.prettierignore d7cf0f08e0 'init' 4 年之前
.prettierrc d7cf0f08e0 'init' 4 年之前
LICENSE.md d7cf0f08e0 'init' 4 年之前
README.md d7cf0f08e0 'init' 4 年之前
index.js d7cf0f08e0 'init' 4 年之前
package.json d7cf0f08e0 'init' 4 年之前

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