De la difficulté que peut représenter la migration de ESLint 8 vers ESLint 9.
De la difficulté que peut représenter la migration de ESLint 8 vers ESLint 9.
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.
#Development #Launches
ESLint now supports CSS linting · The @eslint/css plugin is based on CSSTree https://ilo.im/162ex6
_____
#CSS #Code #Maintainability #Linter #Plugin #ESLint #CSSTree #Npm #WebDev #Frontend
@inlovewithpda #bash is great, I've developed many a helping monster script. But bash also is a beast when it comes to getting it right. It's helpful to use a #Linter (like #shellcheck for example).
Even more important is to know when you should drop your bash script, consider it a prototype and reimplement it with a language that suits the problem better.
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.
Wow, the most extensive review of #Regal I've seen so far, and it's a great read! In Japanese, but Google Translate did a good job.
Reading the conclusion at the end made my day.
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!
The feeling when 87.5% of the discussion under your contribution is about #bureaucracy : unreliable CI and insignificant #style #bikeshedding .
Congrats, the project has created a barrier to entry for anyone who hasn't been into it for years already.
Hint: give everyone a freaking #linter that satisfies your needs and let us move on to actual work, without having to redo the same stuff 8 times. Sheesh.
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!
Ruff v0.2.0 is out now
From v0.1.0 to v0.2.0, we saw...
- 891 PRs
- 118 contributors (including 80 new contributors)
- Over 100 new rules
biome | A toolchain for web projects, aimed to provide functionalities to maintain them. #Biome offers #formatter and #linter, usable via CLI and LSP.
https://github.com/biomejs/biome
Fun fact: this is the winner of the "write a pretty printer in #Rust challenge":
https://console.algora.io/challenges/prettier
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!
Thinking of hacking on a #LanguageServer for #Rego during the holidays, and integrate #Regal for linting. Anyone here who built one for some other language? I’d love to hear what you found most difficult, gotchas, clever tricks, or whatnot. All that kind of stuff you won’t find in the docs.
Regal v0.14.0 just released! The latest edition of the #OPA community's favorite #Rego linter features two new rules, a new output format, and many improvements and fixes. Release notes and downloads here: https://github.com/StyraInc/regal/releases/tag/v0.14.0
#Fixit 2: #Meta’s next-generation auto-fixing #linter
https://engineering.fb.com/2023/08/07/developer-tools/fixit-2-linter-meta/
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!