| Crates.io | vize_patina |
| lib.rs | vize_patina |
| version | 0.0.1-alpha.31 |
| created_at | 2026-01-11 16:37:55.9913+00 |
| updated_at | 2026-01-12 12:43:19.933408+00 |
| description | Patina - The quality checker for Vize code linting |
| homepage | |
| repository | https://github.com/ubugeeei/vize |
| max_upload_size | |
| id | 2036079 |
| size | 638,581 |
The Patina - Code quality checker for Vue SFCs
Patina (/ˈpætɪnə/) refers to the greenish layer that forms on copper, bronze, and similar metals through oxidation over time. In the world of art and antiques, patina is highly valued - it serves as a mark of authenticity, age, and quality that cannot be easily faked.
In the art world, patina:
Similarly, vize_patina provides:
<script setup> supportuse vize_patina::{Linter, LintConfig, RuleSet};
use vize_atelier_sfc::parse_sfc;
let sfc = parse_sfc(source, Default::default())?;
let config = LintConfig::default();
let linter = Linter::new(config);
let diagnostics = linter.lint(&sfc);
for diag in diagnostics {
println!("{}: {}", diag.rule_id, diag.message);
}
| Category | Description |
|---|---|
art |
Art template syntax rules |
musea |
Design token validation |
essential |
Prevent errors (Vue 3) |
strongly-recommended |
Improve readability |
vize_patina is part of the Vize compiler's art-themed crate collection:
| Crate | Art Term | Role |
|---|---|---|
| vize_carton | Carton (Portfolio Case) | Shared utilities & allocator |
| vize_atelier_core | - | AST & Parser (core) |
| vize_atelier_dom | Atelier (Workshop) | DOM compiler |
| vize_atelier_vapor | Atelier (Workshop) | Vapor compiler |
| vize_atelier_sfc | Atelier (Workshop) | SFC compiler |
| vize_vitrine | Vitrine (Display Case) | Bindings (Node.js/WASM) |
| vize_canon | Canon (Standard) | Type checker |
| vize_glyph | Glyph (Letterform) | Formatter |
| vize_patina | Patina (Aged Surface) | Linter (this crate) |
MIT License