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.
 
 
 
 
 
juncheng.li 27cf5ae2d3 add modules 1 year ago
..
test add modules 1 year ago
.editorconfig add modules 1 year ago
.eslintignore add modules 1 year ago
.eslintrc.js add modules 1 year ago
.prettierignore add modules 1 year ago
.prettierrc add modules 1 year ago
LICENSE.md add modules 1 year ago
README.md add modules 1 year ago
index.js add modules 1 year ago
package.json add modules 1 year 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