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