Currently the semicolon and prettier parsing by meow had to be disabled, as if they are not used by the user, meow set them to false and they override the configuration file.
So setting "semicolon": true or "prettier": true in the package.json is always overwritten and set to false.
Investigating it's related to to minimist which is used internally by meow. See https://github.com/substack/minimist/issues/94.
minimist doesn't seems to be maintained anymore and didn't received any commits for more than 2 years.
In order to solve this issue I see a couple solutions:
- Replace
meow by another arg parsing solution. In my experience yargs seems to be the most complete, reliable and maintained solution. Caporal.js seems promising as well.
- Replace
minimist inside meow by another solution. yargs-parser seems a good candidate.
@sindresorhus as you are also the author of meow, how would you prefer to address that issue?
Currently the
semicolonandprettierparsing bymeowhad to be disabled, as if they are not used by the user,meowset them to false and they override the configuration file.So setting
"semicolon": trueor"prettier": truein thepackage.jsonis always overwritten and set tofalse.Investigating it's related to to minimist which is used internally by
meow. See https://github.com/substack/minimist/issues/94.minimistdoesn't seems to be maintained anymore and didn't received any commits for more than 2 years.In order to solve this issue I see a couple solutions:
meowby another arg parsing solution. In my experience yargs seems to be the most complete, reliable and maintained solution. Caporal.js seems promising as well.minimistinsidemeowby another solution. yargs-parser seems a good candidate.@sindresorhus as you are also the author of
meow, how would you prefer to address that issue?