Urgent.News

What's breaking now, across thousands of outlets.

Tech

V+ (Vit Plus): l’ambiente “tutto incluso” che mette ordine in linting, formatting, test e workflow

Un solo CLI, un solo file di configurazione, strumenti coerenti tra loro: meno colla, meno tool scollegati, più velocità e standard condivisi. Negli ultimi anni abbiamo normalizzato una certa “frammentazione” nel setup dei progetti frontend: scegli un bundler, poi un runner per i test, poi un formatter, poi un linter, poi il package manager “giusto”, poi i git hooks, poi la CI… Il risultato è…

V+ è una soluzione che mira a semplificare la configurazione, l'implementazione e la gestione dei progetti front-end. Il suo objetivo principale è offrire un'esperienza unificata, con una configurazione centralizzata e comandi coerenti. V+ raggruppa tutti gli strumenti di base necessari per un progetto web in un singolo CLI e configurazione.

V+ si comporta come un tool "di sistema" installabile globalmente. Una volta installato, il CLI offre una serie di comandi sotto vp per creare un progetto (app, monorepo o libreria), eseguire il linting, il formatting, i test, il build e altro ancora. I comandi sono unificati in un unico file di configurazione, v.config, che gestisce regole di formatting e linting, opzioni di type checking, task di controllo qualità e comportamento dei file "staged" (pre-commit).

V+ utilizza Oxlint e Oxformat, strumenti basati su Rust, per offrire prestazioni e semplicità superiore rispetto ad ESLint e Prettier. Il lint e formatting integrati (stack OXC) e il type checking sono parte integrante del workflow di V+. Inoltre, V+ supporta i Git hooks per pre-commit, garantendo che il controllo qualità venga eseguito in anticipo ai commit.

Questo strumento funziona bene sia per progetti monorepo che per standard applicazioni. Con V+ il processo di creazione di un progetto è semplificato grazie al comando vp create, che guida l'utente attraverso la generazione di app, monorepo o libreria. Non esiste bisogno di molte configurazioni aggiuntive poiché V+ si prende cur di tutto con pochi file di configurazione.

Inoltre, V+ offre supporto per editor come VS Code tramite un extension pack dedicato, che abilita lint/format automatici in base alle regole del progetto. Il plugin permette di salvare un file e di essere formattato secondo gli standard del repository. Con V+ si può anche innestarsi su scaffolding predefiniti, come il framework Vite, per iniziare con conte e non dover aggiungere controlli di qualità dopo.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Model Line Changeover as a State Machine So the Next SKU Cannot Start Before Clearance

By Isaac Muthui, CEO, Tamalaki Business Network Ltd. Originally published at factoraerp.com . If you build production or MES/ERP software for food manufacturers, here is a failure mode worth designing…

  • Model each production line with a state machine to prevent overlapping orders.
  • States include RUNNING, CLOSEDOUT, CLEANED, and CLEARED to ensure proper line clearance.

How to Reply When You Can't Tell If Someone Is Upset in a Text

You get a short message: "fine." or "ok, whatever works." And now you're staring at your phone trying to work out whether the person is annoyed, tired, or just typing fast.

  • Separate message from personal interpretations to avoid negative assumptions
  • Use neutral responses that apply to all possible emotions
  • Keep replies concise, focused, and avoid escalating the situation

Pin the Fault Matrix Before You Refactor a Messy Module

Pin the Fault Matrix Before You Refactor a Messy Module Consider an illustrative composite scenario rather than one specific incident, because the shape repeats across review threads.

  • Error surface changes first in refactor, not happy path
  • Three patterns cause drift in error surface: type flattening, code loss, ordering drift
  • Fault matrix helps track raised exceptions during refactoring

Processing and Completeness Are Different Problems

One verdict for two aspects keeps a closed task open forever. 👋 Hi, I'm Anton - a software engineer working mostly in PHP/Symfony and Go, currently carving a live PHP monolith into Go services.

  • Processing solved with 76/76 match and zero discrepancies
  • Completeness still waiting for missing data
  • Separate solutions required for processing and completeness

More from Thursday 15 October →