Can we have something to beautify the code too? Like gofmt or shfmt?
GitHub Super Linter: one linter to rule them all
41–50 of 360 posts
Re: GitHub Super Linter: one linter to rule them all
#42Great! Now do it for code formatters! After using Prettier for a few years I'm firmly in the camp of mandatory/enforced code formatters. As long as it's a half decent formatter like Prettier I believe my personal opinions on the specific formatting choices are much less important than essentially never having to think about formatting again, in particular having to ask people to fix formatting in code reviews (or fix…
Re: GitHub Super Linter: one linter to rule them all
#43Re: GitHub Super Linter: one linter to rule them all
#44Earlier quoted context omitted.
Sure, if you want to get a billion issues reported that are caused by outdated versions of the linters.
Outdated version could simply be counted as nonexistent, then a new version would be installed "as needed".
It just opens a whole box of problems, that do nothing to actually further the tool you are building.
Re: GitHub Super Linter: one linter to rule them all
#45There seems to be a universal law of software systems that if small, self-contained subsystems exist - someone will glom them all together into an Uber-system, and vice versa. It’s inescapable.
> There are only two ways to make money in business: One is to bundle; the other is to unbundle. [1]
[1]: https://twitter.com/eriktorenberg/status/1214671238552940544
Re: GitHub Super Linter: one linter to rule them all
#46CI linting/testing should be a final check, not a part of your iterative workflow. Any linting or testing you do in CI should have already been done locally by the dev.
Re: GitHub Super Linter: one linter to rule them all
#47Re: GitHub Super Linter: one linter to rule them all
#48The pain being solved here is that setting up the right development environment is hard, especially for those still learning to program. Many would be much more productive if we skip this step.
Another prediction: Once the development environment moves to the cloud, it will be tied directly to the deployment to a specific platform, such as Azure if this is offered by GitHub. Then Amazon and Google will have to build their own IDEs in the cloud to compete. We'll no longer be developing locally but in the browser, and it will cost a lot more.
Re: GitHub Super Linter: one linter to rule them all
#49Great! Now do it for code formatters! After using Prettier for a few years I'm firmly in the camp of mandatory/enforced code formatters. As long as it's a half decent formatter like Prettier I believe my personal opinions on the specific formatting choices are much less important than essentially never having to think about formatting again, in particular having to ask people to fix formatting in code reviews (or fix…
So much this. I had strong opinions on style until I found good autoformatters. Now I write horribly unformatted code and it comes out super clean and organized as soon as I hit save. Now I don’t even really care what the standard is because it only affect reading code.
Re: GitHub Super Linter: one linter to rule them all
#50Java 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.