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.
Re:GitHub Super Linter: one linter to rule them all
by ithrow on Thursday June 18, 2020 @01:06PM
(#23565163)
Java is going downhill(as in not much new code is being written in it), so of the mainstream languages is going to get supported last if ever.
Re:GitHub Super Linter: one linter to rule them all
by StyloBill on Thursday June 18, 2020 @01:50PM
(#23565635)
> Java is going downhill(as in not much new code is being written in it)
This is just completely false.
- https://madnight.github.io/githut/#/pull_requests/2020/1
- https://insights.stackoverflow.com/survey/2020#technology-pr...
I could link many other links showing Java as an extremely widespread language. There is just nothing comparable in the corporate world.
Re:GitHub Super Linter: one linter to rule them all
by bluedevil2k on Thursday June 18, 2020 @01:52PM
(#23565660)
This is an inane comment, there's TONS of new code being written in it, probably more than any other language. Outside the HN bubble of Rust/Draco/OCaml companies tend to stick with the Java/JS/Ruby/C# languages.
Re:GitHub Super Linter: one linter to rule them all
by majewsky on Thursday June 18, 2020 @03:14PM
(#23566591)
> there's TONS of new code being written in [Java], probably more than any other language
Nah, it's a pretty safe bet that the language with the most new code being written is JavaScript. If it weren't JavaScript, I'd actually guess Excel next. (Okay, maybe not in terms of LOC, but certainly in number of applications.)
Re:GitHub Super Linter: one linter to rule them all
by krzyk on Thursday June 18, 2020 @03:24PM
(#23566737)
Java and Javascript are head to head on that one, if you look at any data on the web. (and Java is nice to work with, mature environment, quite opposite of Javscript).
With Python or C++ being next.
But they don't count Excel :)
Java is the only major language without any sane default coding standard (no, google-java-format is google-specific, outdated, not up-to-date with recent versions and not maintained by community). It's a pity really.