root 3bf41bf355 update | 1 rok pred | |
---|---|---|
.. | ||
.github | 1 rok pred | |
.vscode | 1 rok pred | |
test | 1 rok pred | |
.editorconfig | 1 rok pred | |
.eslintignore | 1 rok pred | |
.eslintrc.js | 1 rok pred | |
.prettierignore | 1 rok pred | |
.prettierrc | 1 rok pred | |
LICENSE.md | 1 rok pred | |
README.md | 1 rok pred | |
index.js | 1 rok pred | |
package.json | 1 rok pred |
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