You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 months ago | |
---|---|---|
.. | ||
.github | 4 months ago | |
.vscode | 4 months ago | |
test | 4 months ago | |
.editorconfig | 4 months ago | |
.eslintignore | 4 months ago | |
.eslintrc.js | 4 months ago | |
.prettierignore | 4 months ago | |
.prettierrc | 4 months ago | |
LICENSE.md | 4 months ago | |
README.md | 4 months ago | |
index.js | 4 months ago | |
package.json | 4 months ago |
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