tree: 7bd443ac1d7166e91becfb45bca38c75ebcd35b5 [path history] [tgz]
  1. .github/
  2. .vscode/
  3. test/
  4. .editorconfig
  5. .eslintignore
  6. .eslintrc.js
  7. .prettierignore
  8. .prettierrc
  9. index.js
  10. LICENSE.md
  11. package.json
  12. README.md
node_modules/prettier-linter-helpers/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