DigitalConsumer.FixMyGlass/node_modules/prettier-linter-helpers
2021-09-20 18:29:11 -04:00
..
.github my commit 2021-09-20 18:29:11 -04:00
.vscode my commit 2021-09-20 18:29:11 -04:00
test my commit 2021-09-20 18:29:11 -04:00
.DS_Store my commit 2021-09-20 18:29:11 -04:00
.editorconfig my commit 2021-09-20 18:29:11 -04:00
.eslintignore my commit 2021-09-20 18:29:11 -04:00
.eslintrc.js my commit 2021-09-20 18:29:11 -04:00
.prettierignore my commit 2021-09-20 18:29:11 -04:00
.prettierrc my commit 2021-09-20 18:29:11 -04:00
index.js my commit 2021-09-20 18:29:11 -04:00
LICENSE.md my commit 2021-09-20 18:29:11 -04:00
package.json my commit 2021-09-20 18:29:11 -04:00
README.md my commit 2021-09-20 18:29:11 -04: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