webhook/node_modules/prettier-linter-helpers
Joel Male 1ada95e04a
v2.0.0 (#12)
- Convert project to Javascript/Typescript
- Allow custom headers to be passed in (optional)
- Allow body to be optional
2020-08-26 10:52:47 +10:00
..
.github v2.0.0 (#12) 2020-08-26 10:52:47 +10:00
.vscode v2.0.0 (#12) 2020-08-26 10:52:47 +10:00
test v2.0.0 (#12) 2020-08-26 10:52:47 +10:00
.editorconfig v2.0.0 (#12) 2020-08-26 10:52:47 +10:00
.eslintignore v2.0.0 (#12) 2020-08-26 10:52:47 +10:00
.eslintrc.js v2.0.0 (#12) 2020-08-26 10:52:47 +10:00
.prettierignore v2.0.0 (#12) 2020-08-26 10:52:47 +10:00
.prettierrc v2.0.0 (#12) 2020-08-26 10:52:47 +10:00
index.js v2.0.0 (#12) 2020-08-26 10:52:47 +10:00
LICENSE.md v2.0.0 (#12) 2020-08-26 10:52:47 +10:00
package.json v2.0.0 (#12) 2020-08-26 10:52:47 +10:00
README.md v2.0.0 (#12) 2020-08-26 10:52:47 +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