home.social

#linter — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #linter, aggregated by home.social.

fetched live
  1. I've published my todo-linter to PyPI, so you can install it without needing to use pre-commit: pypi.org/project/todo-linter/

    Tomorrow I'll make a Sublime Linter plugin so you can use it from within Sublime Text.

    H/T to @ehmatthes looking at my pytest issue earlier. 🍻

    #python #pypi #linter #CodeQuality

  2. Turns out, reLint is a great AI companion. I have a clause in my AGENTS.md to try to record all of my coding style review comments as reLint rules.

    Next time an agent works on something, they get automatic feedback before they can even commit new work.

    github.com/codingjoe/relint

  3. I'm happy to announce Badness: a formatter, linter, and language server for LaTeX! It is meant to be a all-in-one replacement for whatever texlab + latexindent/tex-fmt + chkex + bibtex-tidy setup you have going. The goal is to be a Ruff for LaTeX. The architecture is heavily inspired by rust-analyzer.

    Features include reflow and sentence wrapping, a curated set of chktex lint rules, and support for tex, sty, ins, and bib files.

    github.com/jolars/badness

    #texlatex #formatter #lsp #linter

  4. ShellCheck: Ein Linter für Shell-Skripte

    Der Einsatz von Werkzeugen zur Code-Überprüfung lohnt sich immer. Das gilt insbesondere, wenn ihr Code aus dem Internet herunterladet, eure Skripte von KI generieren lasst, oder diese selbst schreibt.

    #Linter #ShellCheck #Skript #Linux

    gnulinux.ch/shellcheck-ein-lin

  5. 𝗦𝘁𝗮𝗻𝗱𝗮𝗿𝗱𝗝𝗦:

    #JS #Linter #Formatter #StandardJS

    thewhale.cc/posts/standardjs

    SyandardJS is a JavaScript style guide, linter, and formatter made by Feross Aboukhadijeh.

  6. 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

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

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

    habr.com/ru/articles/1029976/

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

  8. 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):
    forge.fedoraproject.org/infra/

  9. 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! 😂
    leonh.fr/posts/go-transaction- #humor #overengineering #HackerNews #ngated