provider/node_modules/prettier-linter-helpers
2020-11-06 14:38:38 +03:00
..
.github fix: update lint 2020-11-06 14:38:38 +03:00
.vscode fix: update lint 2020-11-06 14:38:38 +03:00
test fix: update lint 2020-11-06 14:38:38 +03:00
.editorconfig fix: update lint 2020-11-06 14:38:38 +03:00
.eslintignore fix: update lint 2020-11-06 14:38:38 +03:00
.eslintrc.js fix: update lint 2020-11-06 14:38:38 +03:00
.prettierignore fix: update lint 2020-11-06 14:38:38 +03:00
.prettierrc fix: update lint 2020-11-06 14:38:38 +03:00
index.js fix: update lint 2020-11-06 14:38:38 +03:00
LICENSE.md fix: update lint 2020-11-06 14:38:38 +03:00
package.json fix: update lint 2020-11-06 14:38:38 +03:00
README.md fix: update lint 2020-11-06 14:38:38 +03:00

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