1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-20 22:21:20 +02:00

Describe when we can remove lintstagedrc as a comment

This commit is contained in:
Sunny Hirai
2021-07-01 17:13:56 -07:00
parent 506d9bce53
commit 51bfb40fad

View File

@@ -1,9 +1,13 @@
const escape = require('shell-quote').quote
/**
* Need this to fix a bug where we can't commit `pages/examples/[example].tsx`
* Need this to fix a bug where we can't commit `pages/examples/[example].tsx`.
*
* <https://github.com/okonet/lint-staged/issues/676#issuecomment-574764713>
*
* NOTE:
* We can remove this entire file if/when we upgrade to Prettier 2+ where this
* is no longer necessary according to the `lint-staged` issue.
*/
module.exports = {