Semantic attribute order
Attributes are grouped by role (definition, state, supplementary meaning, ARIA, data, events) instead of alphabetically or as typed.
Reorders HTML/Vue attributes and stylesheet declarations by semantic meaning, using swappable YAML profiles.
Attributes are grouped by role (definition, state, supplementary meaning, ARIA, data, events) instead of alphabetically or as typed.
The Vue profile keeps eslint-plugin-vue's default order and adds same-name clustering, ARIA sub-ordering, plain HTML and stylesheets.
Declarations in CSS, SCSS, Sass and Less are reordered in malva's property order, with vendor-prefixed declarations placed first. Only the order changes.
Orders and layout rules are data, not code. Profiles are validated by a JSON Schema and reject unknown keys.
A pure Rust function with no file I/O, the anyl CLI, and an npm package with a synchronous format() API.
annealer-disable, annealer-enable and annealer-disable-next-line comments keep selected code exactly as written.