CSS / SCSS / Less
Ready132 lint rules
Each bar is measured on real-world code against the default rule set of the reference tool; the tick marks 85%. Ready means the first tool of each column is at least 85%; the others are shown for reference. How CSS / SCSS / Less is measured.
Parity
Section titled “Parity”Format
Lint
| Task | Compared with | Sudsy speed | Time (Sudsy / tool) | Peak memory (Sudsy / tool) |
|---|---|---|---|---|
| Format | Prettier | 39× faster | 0.14 s / 5.61 s | 157 / 392 MB |
| Lint | stylelint | 7.5× faster | 0.27 s / 2.04 s | 113 / 355 MB |
| Lint | stylelint-scss | 47× faster | 0.052 s / 2.43 s | 89 / 273 MB |
| Lint | stylelint-less | 54× faster | 0.080 s / 4.29 s | 120 / 440 MB |
Presets
Section titled “Presets”A preset is an ordinary sudsy.yaml; use one with extends.
css/stylelint-recommended:extends: [preset:css/stylelint-recommended]css/stylelint-standard:extends: [preset:css/stylelint-standard]
132 lint rules apply to CSS / SCSS / Less: browse them.