Presets
The plugin currently exposes four presets:
stylelint2.configs.recommendedstylelint2.configs.stylelintOnlystylelint2.configs.configurationstylelint2.configs.all
Legacy aliases remain available:
stylelint2.configs.stylesheetsโstylelint2.configs.stylelintOnlystylelint2.configs.configsโstylelint2.configs.configuration
Preset setup guidesโ
Use the setup page for the preset you want to enable:
| Preset | Purpose | Setup page |
|---|---|---|
stylelint2.configs.recommended | Enable both stylesheet linting and Stylelint config authoring guidance. | Recommended preset guide |
stylelint2.configs.stylelintOnly | Enable only the Stylelint bridge workflow for stylesheets and ESLint-side autofix. | Stylelint-only preset guide |
stylelint2.configs.configuration | Lint only Stylelint config modules and disable-comment reporting settings, with no stylesheet bridge. | Configuration-only preset guide |
stylelint2.configs.all | Enable every preset entry currently shipped by this plugin. | All preset guide |
Rule matrixโ
Fix legend:
๐ง= autofixableโ= report only
Preset key legend:
๐กโstylelint2.configs.recommended๐จโstylelint2.configs.stylelintOnly๐งโstylelint2.configs.configuration๐ฃโstylelint2.configs.all