Permalink
Cannot retrieve contributors at this time
14 lines (9 sloc)
510 Bytes
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/prettier-linter-helpers/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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](https://github.com/prettier/eslint-plugin-prettier/blob/v2.7.0/eslint-plugin-prettier.js#L85-L215) |