You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
拓海
e47f4a5c5d
|
1 month ago | |
---|---|---|
.. | ||
.github | 1 month ago | |
.vscode | 1 month ago | |
test | 1 month ago | |
.editorconfig | 1 month ago | |
.eslintignore | 1 month ago | |
.eslintrc.js | 1 month ago | |
.prettierignore | 1 month ago | |
.prettierrc | 1 month ago | |
LICENSE.md | 1 month ago | |
README.md | 1 month ago | |
index.js | 1 month ago | |
package.json | 1 month ago |
README.md
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