webhook-action/node_modules/prettier-linter-helpers
2020-08-26 09:57:08 +10:00
..
.github Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
.vscode Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
test Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
.editorconfig Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
.eslintignore Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
.eslintrc.js Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
.prettierignore Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
.prettierrc Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
index.js Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
LICENSE.md Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
package.json Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00
README.md Add node_modules until bundler is added 2020-08-26 09:57:08 +10:00

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