Closed milahu closed 9 months ago
That’s interesting idea, but you can see in Usage section:
putout [options] [path]
—-enable-all
is one of options
flag, and path
should be provided. That’s interesting idea to set .
as default flag, but what to do with —-staged
flag? It doesn’t work in current directory it works with staged files only.
And ESLint has similar behavior when you don’t provide path, it just exists.
nevermind, its better this way
repro
run putout in an empty dir
no
package.json
no.putout.json
actual
expected
use the current workdir as path
workaround