norden.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Moin! Dies ist die Mastodon-Instanz für Nordlichter, Schnacker und alles dazwischen. Folge dem Leuchtturm.

Administered by:

Server stats:

3.4K
active users

#Linter

0 posts0 participants0 posts today

Une sorte de linter pour PHP. Cet outil analyse votre code et vous permet de détecter certains problèmes sans même avoir à l'exécuter.

L'un des aspects intéressant c'est l'approche par niveaux (*levels*) qui permet de choisir son niveau d'*agressivité*. Vous pouvez commencer au level 0, corriger les soucis "faciles", puis augmenter à mesure que votre code gagne en qualité et en robustesse.

🔗 phpstan.org/

phpstan.orgFind Bugs Without Writing Tests
#PHP#linter#analyse

If I want to create a Linter/Fixer to enforce some rules like class/file naming, folder structure, code formatting for Laravel, what would be the best tool to built upon? PHP-CS-Fixer, Rector, Pest? I feel like they all have some overlapping features for this.

I know Tighten's Tlint but seems like they wrote their tool from scratch instead of using an existing library.

I might be OOO, but #Regal is moving forwards! v0.27.0 is quite a milestone, with full debug adapter protocol (DAP) support, and clients in both #VSCode and #Neovim. Yes, debugging #Rego! For advanced users, there's also a new source action that'll let you explore compilation stages of any given policy 🤓 Enjoy!

github.com/StyraInc/regal/rele

GitHubRelease v0.27.0 · StyraInc/regalDebug Adapter Protocol Support Back in #926 (v0.26.0), support was added for the Debug Adapter Protocol (DAP), based on the new OPA SDK added in #6876 (documentation). This release improves on this...
Continued thread

More #linter fighting today because it's decided to get more picky when I was putting in a one line removal from an unrelated file ... Currently adding what feels like a thousand indent changes to several yaml files which, of course, renders the "blame" useless for finding out who actually made a change to the file.

I just published #Regal v0.16.0. This release brings two new linter rules, but most importantly it adds a language server (LSP) mode to Regal, allowing editor integrations to lint your workspace continuously as you work on your #Rego policies. Client implementations soon to follow. Exciting times!

Thanks @charlieegan3 for an awesome contribution!

github.com/StyraInc/regal/rele

GitHubRelease v0.16.0 · StyraInc/regalThis release adds 2 new linter rules and a language server protocol (LSP) implementation to Regal. New rule: duplicate-rule Category: bugs The new duplicate-rule linter rule flags any rules with du...
#OPA#Linter#DevOps

biome | A toolchain for web projects, aimed to provide functionalities to maintain them. #Biome offers #formatter and #linter, usable via CLI and LSP.

github.com/biomejs/biome

Fun fact: this is the winner of the "write a pretty printer in #Rust challenge":
console.algora.io/challenges/p

I think, by now, every major #WebDev tool has been rewritten in #RustLang.

Just think about the time savings this brings for people globally!

Time to switch our tools! 🚀

GitHubGitHub - biomejs/biome: A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP. - biomejs/biome

Regal v0.13.0 just released! Featuring 3 new linter rules, performance improvements across the board, and many improvements and fixes. If you're working with #OPA and #Rego in any way, make sure to try it out! Regal aims to help not just by finding bugs and issues, but to teach developers of all levels idiomatic Rego.

I'd love to hear what you think!

github.com/StyraInc/regal/rele

GitHubRelease v0.13.0 · StyraInc/regalThis release brings 3 new linter rules, several performance improvements, and many fixes and tweaks to existing rules. New rules: use-if and use-contains Category: idiomatic The if and contains key...