prettier-linter-helpers
Utilities to help expose prettier output in linting tools
Last updated 7 years ago by bpscott .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install prettier-linter-helpers 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (7 years ago)

2 Versions

  • 1.0.0                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 3
Last Month 4
Dependencies (1)
Dev Dependencies (6)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |