cmy 02a04f55a0 2023-3-15 2 lat temu
..
.github 02a04f55a0 2023-3-15 2 lat temu
.vscode 02a04f55a0 2023-3-15 2 lat temu
test 02a04f55a0 2023-3-15 2 lat temu
.editorconfig 02a04f55a0 2023-3-15 2 lat temu
.eslintignore 02a04f55a0 2023-3-15 2 lat temu
.eslintrc.js 02a04f55a0 2023-3-15 2 lat temu
.prettierignore 02a04f55a0 2023-3-15 2 lat temu
.prettierrc 02a04f55a0 2023-3-15 2 lat temu
LICENSE.md 02a04f55a0 2023-3-15 2 lat temu
README.md 02a04f55a0 2023-3-15 2 lat temu
index.js 02a04f55a0 2023-3-15 2 lat temu
package.json 02a04f55a0 2023-3-15 2 lat temu

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