News for hackers. Stuff that matters.
Re:GitHub Super Linter: one linter to rule them all by ascorbic on Thursday June 18, 2020 @01:17PM (#23565267)
I wonder why they went with Standard for JavaScript and TypeScript, instead of Prettier which is far more popular now.
Re:GitHub Super Linter: one linter to rule them all by thefunnyman on Thursday June 18, 2020 @04:14PM (#23567453)
As 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.
Re:GitHub Super Linter: one linter to rule them all by zkoppert on Friday June 19, 2020 @12:10PM (#23575862)
Sounds 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.
Re:GitHub Super Linter: one linter to rule them all by crooked-v on Thursday June 18, 2020 @01:39PM (#23565508)
Prettier is a formatter, not a linter.
Re:GitHub Super Linter: one linter to rule them all by ascorbic on Thursday June 18, 2020 @06:39PM (#23568932)
Standard 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.