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)?
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
showInvisiblesandgenerateDifferencesfunctions into a newprettier-lint-reporting-utilslibrary (but with a better name)?