📦 SETUP • ⚙️ CONFIGURATION • ️️️🛰️ FEATURES
|
A modular, production-ready Stylelint configuration designed for high-performance CSS and SASS workflows. It enforces strict property ordering and prevents common architectural errors in modern web applications. |
Stylelint- Stylelint rules to prevent errors and enforce best practices in your CSS.Sass- Rules specifically designed for Sass syntax.Stylistic- Keep your CSS clean and readable.Order- Organize your CSS for easy maintenance.
Run this command to install eslint and the plugin.
bun i -D stylelint stylelint-config-universal-codepnpm i -D stylelint stylelint-config-universal-codeyarn i -D stylelint stylelint-config-universal-codenpm i -D stylelint stylelint-config-universal-codeTo use this plugin put in your repositorie you need to create an .stylelintrc file and add this lines of code.
{
"extends": "stylelint-config-universal-code"
}Extra settings that can be added in the same file.
{
"extends":
[
// This specifies that the configuration extends the "stylelint-config-universal-code" rules.
"stylelint-config-universal-code",
// This specifies that the configuration also extends the sass rules
"stylelint-config-universal-code/sass"
],
// Extra configuration can be done by stylelint see more in https://stylelint.io/user-guide/configure
}BACK TO TOP
Copyright © All rights reserved developed by LuisdaByte and