home.social

#linter — Public Fediverse posts

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

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

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

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

    habr.com/ru/articles/1029976/

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

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

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

    habr.com/ru/articles/1029976/

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

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

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

    habr.com/ru/articles/1029976/

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

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

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

    habr.com/ru/articles/1029976/

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

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

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

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

  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/

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

  9. 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/

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

  10. 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/

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

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

  12. I was reading google tools and saw chromium.org/chromium-os/devel which looks like a linter job doing some replace. Here is a open source tool doing that github.com/simonepri/ifttt-lint

    I am wondering where do we use this kind of tool in projects ? Just real world scenarios.

    please boost to reach more people.

    TIA

    #linter #software #softwareDeveloper #engineer #code #programming

  13. oxc.rs/docs/guide/usage/linter - OxLint is a #TypeScript #linter written in Go that uses real TypeScript compiler for type checking.

  14. Mes notes hebdo de ce 6 Mars :

    🖋️ Un #extrait du Cabinet des mauvais souvenirs orienté #description ( #extract )
    🚀 Lint-to-the-future #dev #linter
    🥕 Panais à l'ail au four #cuisine #recette ( #cooking #recipe )
    🏊‍♀️ Monstres et natation

    🇫🇷 blog.dunstetter.fr/fr/posts/no
    🇺🇸 blog.dunstetter.fr/posts/weekl

  15. Январский рефакторинг: 7 дней, чтобы почистить Python веб‑проект

    Январь - самое удобное время разобрать завалы в проекте. Пол‑команды ещё в отпусках, pull‑реквестов меньше, product owner'ы только вспоминают, что планировали делать в этом году - можно спокойно пройтись по коду и навести порядок. В этой статье пойдёт речь о нескольких косметических действиях, которые, с одной стороны, почти не затрагивают логику программы и не вызывают ненависти у тестировщиков, а с другой - делают код чуть приятнее и дают темы для обсуждения на бэкенд‑созвонах. Мы разложим импорты, перенесём логику из роутов в контроллеры, а из контроллеров - в репозитории и сервисы, избавимся от requirements.txt в пользу нормального менеджера зависимостей и включим mypy.

    habr.com/ru/articles/983172/

    #python #backend #refactoring #architecture #linter #mypy #litestar

  16. Công cụ AntiSlop giúp phát hiện các vấn đề trong mã code được tạo bởi AI như hàm.stub, câu lệnh điều khiển, bình luận tạm thời và lỗi không được xử lý. Hỗ trợ Rust, Python, JavaScript/TypeScript, Go. #AntiSlop #AICode #Linter #CodeReview #MãHóa #PhátTriểnPhầnMềm #CôngCụPhátTriển

    reddit.com/r/programming/comme

  17. Nu-Lint : un linter pour Nushell
    github.com/wvhulle/nu-lint

    Nushell offre un fonctionnement différent de Bash ou Fish, et c’est bien là que réside son intérêt. Mais comme les habitudes ont la vie dure, il fallait bien un linter pour nous aider à adopter les bonnes pratiques, là où on aurait refait selon nos schémas mentaux devenus inadaptés. Ce linter s’adresse aux utilisateurs débutants à intermédiaire.

    #Nushell #linter

  18. Nu-Lint: a linter for Nushell
    github.com/wvhulle/nu-lint

    “Learning to use a new shell is a radical change that can use some assistance. This project is aimed at helping new and intermediate users of the Nu shell. Nu shell has a lot of useful features not found in other scripting languages. This linter will give you hints to use all of them and even offer automatic fixes.”

    #Nushell #linter

  19. We have published a new major version of the #Gherkin #Linter: npmjs.com/package/@gherlint/gh

    Now you can validate your #Cucumber feature files even better and make sure:

    - every feature has a When and a Then step
    - every Then step contains a 'should'
    - the text does not contain any major grammar mistakes
    - no step contains any unwanted words

    If you have ideas for more rules, contribute here: github.com/gherlint/gherlint

    #BDD #testautomation #softwaredevelopment #opensource

  20. We have published a new major version of the #Gherkin #Linter: npmjs.com/package/@gherlint/gh

    Now you can validate your #Cucumber feature files even better and make sure:

    - every feature has a When and a Then step
    - every Then step contains a 'should'
    - the text does not contain any major grammar mistakes
    - no step contains any unwanted words

    If you have ideas for more rules, contribute here: github.com/gherlint/gherlint

    #BDD #testautomation #softwaredevelopment #opensource

  21. We have published a new major version of the #Gherkin #Linter: npmjs.com/package/@gherlint/gh

    Now you can validate your #Cucumber feature files even better and make sure:

    - every feature has a When and a Then step
    - every Then step contains a 'should'
    - the text does not contain any major grammar mistakes
    - no step contains any unwanted words

    If you have ideas for more rules, contribute here: github.com/gherlint/gherlint

    #BDD #testautomation #softwaredevelopment #opensource

  22. We have published a new major version of the #Gherkin #Linter: npmjs.com/package/@gherlint/gh

    Now you can validate your #Cucumber feature files even better and make sure:

    - every feature has a When and a Then step
    - every Then step contains a 'should'
    - the text does not contain any major grammar mistakes
    - no step contains any unwanted words

    If you have ideas for more rules, contribute here: github.com/gherlint/gherlint

    #BDD #testautomation #softwaredevelopment #opensource

  23. We have published a new major version of the #Gherkin #Linter: npmjs.com/package/@gherlint/gh

    Now you can validate your #Cucumber feature files even better and make sure:

    - every feature has a When and a Then step
    - every Then step contains a 'should'
    - the text does not contain any major grammar mistakes
    - no step contains any unwanted words

    If you have ideas for more rules, contribute here: github.com/gherlint/gherlint

    #BDD #testautomation #softwaredevelopment #opensource

  24. Updated GitHub Action for VCL #linter is out! No big change, the v1 is fixed and working again! You can use it to lint your ACL and VCL files, e.g. for #Varnish or #Fastly github.com/ain/falco-github-ac #Programming #EdgeComputing #OpenSource

  25. Updated GitHub Action for VCL is out! No big change, the v1 is fixed and working again! You can use it to lint your ACL and VCL files, e.g. for or github.com/ain/falco-github-ac

  26. Updated GitHub Action for VCL #linter is out! No big change, the v1 is fixed and working again! You can use it to lint your ACL and VCL files, e.g. for #Varnish or #Fastly github.com/ain/falco-github-ac #Programming #EdgeComputing #OpenSource

  27. sqlfluff.com/ - #SQLFluff is an #OpenSource #SQL #Linter
    ```
    pip install sqlfluff
    echo " SELECT a + b FROM tbl; " > test.sql
    sqlfluff lint test.sql --dialect ansi
    ```

  28. Un outil qui permet de s'assurer qu'un package publié suit les bonnes pratiques.

    🔗 publint.dev/

    #package #linter #NodeJS #npm

  29. En train de découvrir les joies (non) de la config ESlint/Prettier. On a des outils qui ont leur propre rôle (le 1er établit des règles de style de code, le second formate en fonction de ces règles) MAIS, le 1er peut aussi formater et le second peut aussi établir des règles. Ils peuvent se marcher sur les pieds (écraser les règles de l’autre), bref c’est un ENFER ! Qui pour inventer un outil UNIQUE qui se configure pour toutes les libs même les plus vieilles, s’il vous plait ?
    #javascript #linter #prettier #eslint

  30. The hardest part of implementing autocorrection for SwiftLint rules is not the fix itself, but the right handling of whitespace and comments.

    #swift #swiftlang #swiftlint #linter

  31. 🎉 Behold the groundbreaking arrival of "marimo check," a #linter so advanced it creates a utopia for both humans and AI agents—because who doesn't want a harmonious coding ecosystem? 🤖💼 Now you can bask in the glory of bug-free, errorless notebooks while enjoying the bliss of knowing your precious CI #pipelines are perfectly aligned with the stars. 🌟💻
    marimo.io/blog/marimo-check #marimocheck #AIcoding #bugfree #harmony #HackerNews #ngated

  32. #Linter is one of those #Obsidian plug-ins that strike me as a tool that's worth the investment of some time and attention. #PKM

  33. Avant, avec #eslint < 9, je pouvais installer le trucs globalement et appliquer les même règles pour les dizaines de projets sur lesquels je travaille.

    Aujourd'hui, j'ai essayé de migrer le code source de mon site web sous ESLint 9.

    Je me retrouve avec 40 MEGA OCTETS de dépendances dans node_modules !!!!!

    Le truc est 100 FOIS plus lourd que mon code source 😱

    Et imaginez ça multiplier par 10 ou 20 !

    Le progrès qu'on vous dis 🤦

    #dev #javascript #linter

  34. Someone actually spent time making a #linter for #Postgres, and now we’re diving into the abyss of #custom #operators. 🥱 Apparently, there are more symbols than anyone asked for, but hey, at least they're not postfix! 🤯 Let's all pretend we're excited about Trino's #syntax influence. 🎉
    steve.dignam.xyz/2025/06/20/in #Trino #Developer #Tools #HackerNews #ngated