Ich habe aus Neugier mal "Psalm" ausprobiert, einen Linter für PHP. Erster Run über eines meiner Projekte sagt:

9 errors found
10 other issues found.
Psalm can automatically fix 20 of these issues.

Muss ich nach dem auto-fix noch irgendwo einen Issue einbauen um auf 0 zu kommen? 🤪

#php #softwareEntwicklung #linter

I just released ryl 0.9.0 with automatic fix support for quoted strings. I hope to keep adding more automatic fixes as I go. Thanks to https://github.com/o-l-a-v for the suggested improvement. See https://github.com/owenlamont/ryl for install options. #rust #yaml #linter

Мини-пайплайн на страже синтаксиса и секретов в Ansible

Представим, что у нас есть репозиторий, где хранятся плейбуки и роли Ansible. Делался он долго, старательно и по правилам. И даже если мы перед коммитами проверяем его через линтер, чтобы не сломать хрупкую YAML красоту, и перепроверяем не забыли ли мы подчистить секреты с которыми проводили тесты, то рано или поздно подобную ошибку совершит кто-то другой. И вот, чтобы снизить такую вероятность и лишний раз не заниматься правками в Git, чтобы вычистить пароли или поправить форматирование, можно немного обезопасить репозиторий заранее.

https://habr.com/ru/articles/1029976/

#ansible #linter #dockerfile #docker_compose #github_actions #git

Мини-пайплайн на страже синтаксиса и секретов в Ansible

Представим, что у нас есть репозиторий, где хранятся плейбуки и роли Ansible. Делался он долго, старательно и по правилам. И даже если мы перед коммитами проверяем его через линтер, чтобы не сломать...

Хабр
Kat kwijt of hond weggelopen? BinnenBeest.be helpt!

Gratis hulp bij vermiste en gevonden huisdieren in België. Meld je vermiste kat of hond, maak flyers en krijg hulp van de community.

BinnenBeest.be

ryl v0.8.0 is out with these features:
- Per-file rule ignores
- JSON Schema for ryl.toml (available via SchemaStore)
- quote-type consistent mode, and single quotes permits double-quoted strings for escape sequences

Thanks https://github.com/o-l-a-v and https://github.com/gecube for the suggestions #rust #yaml #linter

Pavel just released new version of vcs-diff-lint 🛠️ The tool (+ GitHub action) for differential code linting.

The highlight: Newly with yamllint support!

Bonus: Fedora's Forgejo instance integration experiment (infra ansible repo):
https://forge.fedoraproject.org/infra/ansible/pulls/3304

#Ansible #YAML #Linter #CI #GitHubAction #FedoraInfra

ci: implement differential yamllint scan

ansible - Fedora Infrastructure Ansible Repository

Fedora Forge
Ah, the age-old tale of a #developer who broke #production and then heroically wrote a #linter to cover their tracks 🦸‍♂️. This epic saga of over-engineering features thrilling chapters like "Walking the AST" and "Recursive Analysis," which are sure to put you to sleep faster than counting sheep 🐑. But hey, at least now you can sleep soundly knowing your #bugs will be linted into oblivion! 😂
https://leonh.fr/posts/go-transaction-linter/ #humor #overengineering #HackerNews #ngated
I shipped a transaction bug, so I built a linter

Database operations leaked outside a transaction and broke prod. Here's how I built a Go linter to prevent it.

léon h
I shipped a transaction bug, so I built a linter

Database operations leaked outside a transaction and broke prod. Here's how I built a Go linter to prevent it.

léon h

I just released ryl 0.6.0 to crates/pypi/npm with new automatic fixes for spacing around:

- braces
- brackets
- commas
- comments-indentation

Also fixed a bug with top level list elements ( thanks for raising @frague59 )

#rust #yaml #linter

I just released ryl 0.5.0 - I originally aimed for feature parity with yamllint but I'm now trying to follow ruff and rumdl and start implementing automatic fixes (where obvious) and hopefully auto formatting eventually. More to come soon. #yaml #linter #rust