actions/github/codeql-action-v2/node_modules/prettier-linter-helpers
2026-01-31 18:56:04 +01:00
..
.github initial commit of actions 2026-01-31 18:56:04 +01:00
.vscode initial commit of actions 2026-01-31 18:56:04 +01:00
test initial commit of actions 2026-01-31 18:56:04 +01:00
.editorconfig initial commit of actions 2026-01-31 18:56:04 +01:00
.eslintignore initial commit of actions 2026-01-31 18:56:04 +01:00
.eslintrc.js initial commit of actions 2026-01-31 18:56:04 +01:00
.prettierignore initial commit of actions 2026-01-31 18:56:04 +01:00
.prettierrc initial commit of actions 2026-01-31 18:56:04 +01:00
index.js initial commit of actions 2026-01-31 18:56:04 +01:00
LICENSE.md initial commit of actions 2026-01-31 18:56:04 +01:00
package.json initial commit of actions 2026-01-31 18:56:04 +01:00
README.md initial commit of actions 2026-01-31 18:56:04 +01: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