cmy 02a04f55a0 2023-3-15 2 年之前
..
.github 02a04f55a0 2023-3-15 2 年之前
.vscode 02a04f55a0 2023-3-15 2 年之前
test 02a04f55a0 2023-3-15 2 年之前
.editorconfig 02a04f55a0 2023-3-15 2 年之前
.eslintignore 02a04f55a0 2023-3-15 2 年之前
.eslintrc.js 02a04f55a0 2023-3-15 2 年之前
.prettierignore 02a04f55a0 2023-3-15 2 年之前
.prettierrc 02a04f55a0 2023-3-15 2 年之前
LICENSE.md 02a04f55a0 2023-3-15 2 年之前
README.md 02a04f55a0 2023-3-15 2 年之前
index.js 02a04f55a0 2023-3-15 2 年之前
package.json 02a04f55a0 2023-3-15 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