1. prettier-linter-helpers
Utilities to help expose prettier output in linting tools
prettier-linter-helpers
Package: prettier-linter-helpers
Created by: prettier
Last modified: Wed, 12 Apr 2023 23:13:20 GMT
Version: 1.0.0
License: MIT
Downloads: 51,267,123
Repository: https://github.com/prettier/prettier-linter-helpers

Install

npm install prettier-linter-helpers
yarn add prettier-linter-helpers

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

Dependencies

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code