You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Introduce eslint task with semistandard & prettier #36
I would definitely favor adding prettier, just updated the title to reflect this idea.
When using eslint we generally like to use eslint-config-semistandard, which is basically standard but with semicolons required. I think a major challenge is to avoid conflicts between semistandard rules and prettier rules.
I was able to use prettier-eslint-cli to resolve a number of eslint issues that had been lurking in the code for ages. I hope to get it ready for review and merge in the near future.
Closing as stale. ESLint has been added since this issue was opened and is sufficient for the project’s current needs.
If there is still interest in adopting Prettier, I would recommend raising on the mailing list for discussion and vote as Cordova generally prefers to keep development tools consistent across repositories.
Activity
n1ru4l commentedon Dec 12, 2018
Can we also add https://github.com/prettier/prettier + https://github.com/prettier/eslint-config-prettier
[-]Introduce eslint task, likely based on semistandard[/-][+]Introduce eslint task with semistandard & prettier[/+]brody2consult commentedon Dec 12, 2018
I would definitely favor adding prettier, just updated the title to reflect this idea.
When using eslint we generally like to use
eslint-config-semistandard, which is basicallystandardbut with semicolons required. I think a major challenge is to avoid conflicts betweensemistandardrules andprettierrules.I found
eslint-config-prettier-standardwhich will hopefully solve this problem for us.brody2consult commentedon Dec 12, 2018
I meant
eslint-config-prettier-standard, which does use prettier & prettier / eslint-config-prettier as suggested above, just fixed my comment.There was some interesting discussion in standard/standard#811 & standard/standard#996.
brody2consult commentedon Dec 13, 2018
I just raised WIP PR #39 to introduce eslint & prettier, using
prettier-eslint-cliinstead ofeslint-config-prettier. The issueeslint-config-prettieris that it disables a number of eslint rules fromstandardin order to maintain compatibility withprettier.I was able to use
prettier-eslint-clito resolve a number of eslint issues that had been lurking in the code for ages. I hope to get it ready for review and merge in the near future.erisu commentedon Jun 4, 2026
Closing as stale. ESLint has been added since this issue was opened and is sufficient for the project’s current needs.
If there is still interest in adopting Prettier, I would recommend raising on the mailing list for discussion and vote as Cordova generally prefers to keep development tools consistent across repositories.