Closed Flet closed 9 years ago
Run through (semi)standard-format?
We could modify the template to handle each case. Would need to handle conditionals better (this would help fix #15 too).
Hmm, instead of dealing with this in the template, could it do this:
package.json.mustache
: "format": "{{pkgLinter}} -F"
exec('npm install')
line in index.js, do exec('npm run format')
to reformat in their choosen *standard
format.that makes sense too. are the formatters in good shape right now? standard -F
was still missing most cases last I checked (but may be adequate for something as short as the above case).
Working on finally getting this one in.
Nice, thanks!
It would be nice to include a simple test in
test/index.js
instead of being blank.Maybe as simple as:
I realize this is complicated by the fact that a module could be
standard
orsemistandard
too... :(