root 3bf41bf355 update 1 سال پیش
..
.github 3bf41bf355 update 1 سال پیش
.vscode 3bf41bf355 update 1 سال پیش
test 3bf41bf355 update 1 سال پیش
.editorconfig 3bf41bf355 update 1 سال پیش
.eslintignore 3bf41bf355 update 1 سال پیش
.eslintrc.js 3bf41bf355 update 1 سال پیش
.prettierignore 3bf41bf355 update 1 سال پیش
.prettierrc 3bf41bf355 update 1 سال پیش
LICENSE.md 3bf41bf355 update 1 سال پیش
README.md 3bf41bf355 update 1 سال پیش
index.js 3bf41bf355 update 1 سال پیش
package.json 3bf41bf355 update 1 سال پیش

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