Skip to content

Helper functions for exposing prettier changes within linting tools

License

Notifications You must be signed in to change notification settings

isabella232/prettier-linter-helpers

 
 

Repository files navigation

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

About

Helper functions for exposing prettier changes within linting tools

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%