Closed JustinDFuller closed 5 years ago
I made {src,lib,test,tests,__tests__,bin}/**/*.js
the default glob pattern. Any thoughts on this?
Probably best default is **/*.js
but I'd rather not encourage boilerplace. Instead make prettier-standard work without any as suggested with --check
and --staged
flags (see other issues)
Hey. I've published create-modern-node for what I believe should be proper setup that incorporates prettier-standard. If can check it out and suggest changes if you want: https://github.com/sheerun/modern-node
As of NPM version 6.1.0 you can run
npm init <initializer>
that will usenpx create-<initializer>
to initialize an app. I've created a prettier-standard initializer based on the instructions provided here in this document (including husky and lint-staged).