The latest release v4.2.0 is broken:
npm ERR! path /Users/tim/[...]/node_modules/lint-staged/index.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/tim/[...]/node_modules/lint-staged/index.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
I think this can only be fixed by releasing a new patch version, which includes the index.js.
CC @okonet
See #283, i've proposed a bugfix. Sorry 馃槩
No worries :) I rolled back to 4.1.3 in the meantime. Also didn't see this change in the release changelog.
It's just a regular houskeeping I did in #250 (no feature added, no API changed)
I just missed the index.js 鉁岋笍 馃槥
a new patch version should be released soon!
@luftywiranda13 did you see https://github.com/typicode/pkg-ok? Should we use it or is ESLint rule enough?
@okonet it's a nice tool, but I think it's already covered by our ESLint and it's enough. I also think that we barely change our main, bin, and files field, right?
Most helpful comment
@okonet it's a nice tool, but I think it's already covered by our ESLint and it's enough. I also think that we barely change our
main,bin, andfilesfield, right?