4 ms·
What's very interesting in the list here: https://github.com/github/super-linter/#supported-linters https://github.com/github/super-linter/#supported-linters J
by rdsubhas 6y ago
What's very interesting in the list here: https://github.com/github/super-linter/#supported-linters https://github.com/github/super-linter/#supported-linters
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.
- ithrow 6y agoJava 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.
- StyloBill 6y ago> 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://madnight.github.io/githut/#/pull_requests/2020/1 - https://insights.stackoverflow.com/survey/2020#technology-programming-scripting-and-markup-languages-all-respondents 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.
- bluedevil2k 6y agoThis 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.
- majewsky 6y ago> 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.)
- krzyk 6y agoJava 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 :)
- ascorbic 6y agoI 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.