root 3bf41bf355 update | il y a 1 an | |
---|---|---|
.. | ||
.github | il y a 1 an | |
.vscode | il y a 1 an | |
test | il y a 1 an | |
.editorconfig | il y a 1 an | |
.eslintignore | il y a 1 an | |
.eslintrc.js | il y a 1 an | |
.prettierignore | il y a 1 an | |
.prettierrc | il y a 1 an | |
LICENSE.md | il y a 1 an | |
README.md | il y a 1 an | |
index.js | il y a 1 an | |
package.json | il y a 1 an |
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.This code was extracted from eslint-plugin-prettier v2.7.0