Skip to content

Consider extracting showInvisibles / generateDifferences to a new package #101

@BPScott

Description

@BPScott

I recently made https://github.com/BPScott/stylelint-prettier, which does pretty much the same as eslint-plugin-prettier but for stylelint. @ikatyang has https://github.com/ikatyang/tslint-plugin-prettier which is the same for tslint.

Both of us rely upon the reporting api added in #41, but it seems somewhat odd for for us to depend upon a plugin for a different linting tool to get our functionality.

Would it be worth extracting out the showInvisibles and generateDifferences functions into a new prettier-lint-reporting-utils library (but with a better name)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions