lint-staged 16.3.1 → 16.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/lib/getSpawnedTask.js +0 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,8 +67,6 @@ This project contains a script that will run arbitrary shell tasks with a list o
|
|
|
67
67
|
- [SurviveJS interview - Juho Vepsäläinen and Andrey Okonetchnikov, 2018](https://survivejs.com/blog/lint-staged-interview/)
|
|
68
68
|
- [Prettier your CSharp with `dotnet-format` and `lint-staged`](https://johnnyreilly.com/2020/12/22/prettier-your-csharp-with-dotnet-format-and-lint-staged)
|
|
69
69
|
|
|
70
|
-
> If you've written one, please submit a PR with the link to it!
|
|
71
|
-
|
|
72
70
|
## Installation and setup
|
|
73
71
|
|
|
74
72
|
To install _lint-staged_ in the recommended way, you need to:
|
package/lib/getSpawnedTask.js
CHANGED
|
@@ -90,7 +90,6 @@ export const getSpawnedTask = ({
|
|
|
90
90
|
// Only use topLevelDir as CWD if we are using the git binary
|
|
91
91
|
// e.g `npm` should run tasks in the actual CWD
|
|
92
92
|
cwd: /^git(\.exe)?/i.test(cmd) ? topLevelDir : cwd,
|
|
93
|
-
detached: true,
|
|
94
93
|
env: color ? { FORCE_COLOR: 'true' } : { NO_COLOR: 'true' },
|
|
95
94
|
stdio: ['ignore'],
|
|
96
95
|
},
|