All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
6.0.0-beta.2 (2024-11-08)
- correct id & filePath params (9c78976) - by @
6.0.0-beta.1 (2024-10-19)
Note: Version bump only for package monorepo
6.0.0-beta.0 (2024-10-14)
- remove chokidar, introduce another way to handle imported style files
- remove chokidar, introduce another way to handle imported style files (17f3d5d) - by @ModyQyW
- fix wrong colorize (55eb4c3) - by @ModyQyW
- remove extra parsing (68906c1) - by @ModyQyW
- stylelintInstance may not be initialized when calling lintFiles in the worker (2caf01c) - by @ModyQyW
- terminate worker if possible (acd43ca) - by @ModyQyW
- fix: remove linterResult spread to avoid annoying warnings
- feat: support stylelint@16
- chore: update
peerDependencies
- feat: support
rollup@4
andvite@5
, ATTENTION:rollup@4
is supported since[email protected]
- fix: fix wrong ignored when enable
chokidar
I want to publish 5.1.0
but sorry 😅
- feat: add
test
option
I completely rewrote the plugin. It's still backward compatible, but there is still a possibility that the changes may affect some projects. So I bumped a major version.
- feat: add
lintDirtyOnly
option - feat: add
debug
- types: add descriptions
- docs: update README
- feat!: update internal functions
- feat: export more types
- build: switch to
unbuild
- feat: support
stylelint@15
- feat: improve types
- fix: fix worker initial and close
- fix: use
__dirname
directly by accident - build: update minify and generate sourcemap
- perf: better emit handling
- build: switch to rollup
- fix: lint some files twice or more
- fix: fix judge order
- perf: remove extra console
- perf: worker message params
- fix: fix wrong customPrint color
- perf: internal function params
- feat: add
lintInWorker
option - perf: output syntax
- perf: internal function params
- perf: chokidar initial judgement
- perf: improve code
- fix: fix build
- fix: fix build
- fix: correct reading stylelint instance
- feat: support
vite@4
- feat!: require
node>=14.18
- feat!:
build
option defaults tofalse
- feat!:
cacheLocation
option defaults to.stylelintcache
- feat: esm by default
- don't be afraid as commonjs is also supported
- perf: improve output syntax
- fix: fix Stylelint options lost
- fix: fix wrong behavior when enable
lintOnStart
andchokidar
- perf: split
print
,contextPrint
andcustomPrint
functions - perf: split
pluginName
variable - perf: improve naming
- feat: add
chokidar
option
- feat: add
dev
andbuild
options
- fix: fix build
- refactor
- feat: add
formatter
option
- revert: revert
perf: reduce dependencies
, which breaks vite@2
- perf: reduce dependencies
- fix: fix build
- perf: use
config.cacheDir
to get defaultcacheLocation
- fix: pass
ctx
to lintFiles method
- fix: warning styles
- perf: warn when
lintOnStart
is true
- perf: import path from
node:path
instead ofpath
- fix: fix
type: "module"
support
Just update peerDependencies
in package.json
.
- fix: fix type
This version supports vite@2 and vite@3. The breaking changes are caused by aligning behaviors with Stylelint
Node.js API.
- feat!: remove
throwOnError
andthrowOnWarning
options (marked asdeprecated
before) - feat!:
include
andexclude
options now acceptstring | string[]
only to align withstylelint.lint
- feat: add
lintOnStart
option - feat: exclude
virtual:
by default
- fix: show error message when importing
stylelint
if possible - fix: include
shims
intodist
- feat: support
vite@3
- feat: ignore virtual modules
- perf: not to add
build.outDir
intoexclude
- fix: fix
then
handling
- fix: remove
allowSyntheticDefaultImports
andesModuleInterop
intsconfig.json
, closes #5
- fix: try to fix
warning
output - fix: fix regressions
- feat: include
.svelte
files by default
- perf: better output format
- feat: add
emitErrorAsWarning
andemitWarningAsError
options
- fix: fix
index.html
dealing
- fix: fix
FilterPattern
type may be lost
- feat: bring back
throwOnError
andthrowOnWarning
The plugin recommends emitError
/ emitWarning
instead of throwOnError
/ throwOnWarning
now. However, you can stay with throwOnError
/ throwOnWarning
safely. This is actually a backward-compatible version update.
- feat: support Stylelint options
throwOnError
->emitError
throwOnWarning
->emitWarning
- fix:
cacheLocation
use relative path
- feat: add
stylelintPath
option
- feat: add
cacheLocation
option - fix: fix script
- perf: minify dist by default
- fix: stricter
include
- fix: ignore
index.html
<style>
- fix: fix vue example scripts
- chore: update workflow
- fix: Fix internal parameter passing, closes #1
- chore: add
package.json
exports
- feat: support
.styl
by default - perf: remove useless code
- chore: remove workflow
- fix: fix import
- Merge remote-tracking branch 'upstream/main'
- chore: update example
- chore: update tsconfig
- chore: update
package.json
keywords
Initial release.