{"library":"stylelint-webpack-plugin","type":"library","category":null,"description":"A webpack plugin that runs Stylelint during the build process to lint CSS, SCSS, SASS, and other style files. Current stable version is 5.1.0, released February 2026. Supports webpack 5 only (for webpack 4, use the 2.x branch). Peer dependencies require Stylelint >=13 up to 17, and Node.js >=18.12.0 (v5 breaking change). Key differentiators: integrates linting directly into webpack compilation, supports caching (enabled by default since v4.1.1), autofixing, and custom formatters. Ships TypeScript types. Alternative to running Stylelint as a separate process or using other linting plugins like eslint-webpack-plugin for styles.","language":"javascript","status":"active","version":"5.1.0","tags":["javascript","stylelint","lint","linter","plugin","webpack","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install stylelint-webpack-plugin","imports":["import StylelintPlugin from 'stylelint-webpack-plugin'","import type { StylelintPlugin } from 'stylelint-webpack-plugin'","import type { StylelintWebpackPluginOptions } from 'stylelint-webpack-plugin'"]},{"cmd":"yarn add stylelint-webpack-plugin","imports":[]},{"cmd":"pnpm add stylelint-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/webpack/stylelint-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/stylelint-webpack-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/stylelint-webpack-plugin/compatibility"}}