4 ms·
I wonder why they went with Standard for JavaScript and TypeScript, instead of Prettier which is far more popular now.
by ascorbic 6y ago
I wonder why they went with Standard for JavaScript and TypeScript, instead of Prettier which is far more popular now.
- crooked-v 6y agoPrettier is a formatter, not a linter.
- ascorbic 6y agoStandard isn't a linter either. My question was why they're using the Standard style, rather than the Prettier style, both of which can be validated with eslint.
- thefunnyman 6y agoAs others have stated, prettier is a formatted not a linter. I do however agree that Standard is a weird choice and in my experience is far from an actual “standard”. IMO the Airbnb style is excellent and would have been a better choice here. It’s also available as an ESlint plugin. Hopefully something like this can be configured on the GH Action in the future, allowing for a choice between available presets.
- zkoppert 6y agoSounds like there is some consensus around switching out Standard. Feel free to open up an issue in the repo and we can discuss and move forward there if you like.