927854894b | ||
---|---|---|
.. | ||
.github | ||
.vscode | ||
test | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.prettierignore | ||
.prettierrc | ||
LICENSE.md | ||
README.md | ||
index.js | ||
package.json |
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