stylelint
Last updated
Last updated
is a linter for CSS, SCSS.
You can enable the stylelint linter with:
stylelint will be auto-enabled if any of its config files are present: stylelint.config.js
, .stylelintrc.js
, stylelint.config.mjs
.
stylelint supports the following config files:
stylelint.config.js
.stylelintrc.js
stylelint.config.mjs
.stylelintrc.mjs
stylelint.config.cjs
.stylelintrc.cjs
.stylelintrc.json
.stylelintrc.yml
.stylelintrc.yaml
.stylelintrc
You can move these files to .trunk/configs
and trunk check
will still find them. See for more info.
stylelint Trunk Code Quality
Trunk Code Quality's