Releases: hex-ci/vscode-stylelint-plus
Releases · hex-ci/vscode-stylelint-plus
2.1.1
Added
- Extension API —
activate()now returns the language status item anddeactivatemethod, enabling programmatic access from other extensions
Fixed
- Workspace linting now reads from editor buffers instead of disk, ensuring diagnostics match unsaved changes
- Fixed text edit offset drift for non-BMP characters (e.g. emoji in stylesheets)
- Rule severity customizations now apply correctly in CSS syntax fallback mode
- Stale diagnostics for closed files are properly cleared after workspace scans
Retry Local Searchcommand returns detection results directly, improving reliability- Initial validation defers until configuration is received, preventing premature linting with default settings
- Improved client shutdown sequence to avoid redundant stop calls and connection errors
2.1.0
Added
- Internationalization (i18n) support using VS Code's l10n API for all UI strings and configuration descriptions
- Simplified Chinese translation for the extension UI, settings, and a dedicated
README.zh-CN.md
Changed
- Renamed
refreshLocalSearchcommand toretryLocalSearchfor clarity - Bumped minimum VS Code engine version to
>=1.73.0 - Switched
.vscodeignoreto a whitelist strategy to prevent accidental inclusion of development files
2.0.2
The extension now properly supports monorepo and multi-root workspace setups.
What's new:
- Package boundary isolation — Configuration states are now scoped to individual package boundaries, preventing settings from leaking across modules in a monorepo.
- Multi-root traversal — Validation aggregates all active workspace folders while filtering redundant paths.
- File URI sanitization — Handles complex file naming correctly when generating file URIs.
2.0.1
2.0.0
Added
- New commands:
Validate current file,Lint entire workspace,Refresh local stylelint search,Show output channel - Validation trigger modes:
onType/onSave/manual(stylelint.runsetting) - Workspace-wide linting — lint all style files across the entire workspace in one go
- "Disable rule" code action — insert
stylelint-disable-next-lineorstylelint-disable-linecomments - Rule severity customization via
stylelint.rules.customizationssetting - New settings:
stylelint.configFile,stylelint.ignorePath,stylelint.ignoreNodeModules,stylelint.codeAction.disableRuleComment - Language Status indicator (replaces status bar item)
Changed
- Restructured source code into
client/,server/,shared/module layout - When local stylelint is not found, fall back to bundled version with a warning instead of showing an error
- Bumped minimum VS Code engine to
>=1.63.0