
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
stylelint-bare-webpack-plugin
Advanced tools
Webpack plugin wrapper for stylelint allowing you to install any version of stylelint you want
This webpack plugin allows you to lint your CSS/SASS/SCSS/LESS etc. files through any version of Stylelint. It is heavily inspired by stylelint-webpack-plugin
with the key difference being that stylelint
isn't included in this package, allowing you to use any version you want instead of waiting on the webpack plugin to be updated to the newest version.
Compatibility
Version ^1.0.0
of this plugin is compatible with webpack ^4.0.0
. If you're using an older version of webpack, make sure to install the ^0.1.0
(npm install stylelint-bare-webpack-plugin@^0.1.0
) release of this plugin.
npm install stylelint-bare-webpack-plugin stylelint --save-dev
// webpack.config.js
const StylelintBarePlugin = require('stylelint-bare-webpack-plugin');
module.exports = {
// ...
plugins: [
new StylelintBarePlugin({
// Optional options object
})
]
}
You can pass an object containing several options to StylelintBarePlugin()
, this object can contain the following keys and any key that can be passed to stylelint as well.
Option | Default | Description |
---|---|---|
files | '**/*.s?(c|a)ss' | glob used for finding the files that will be linted |
emitErrors | true | Whether to emit webpack errors or only warnings, note that all stylelint errors will still be shown when disabling this |
failOnError | false | Whether to stop the entire Webpack process when a stylelint error is found |
formatter | stringFormatter from Stylelint | Formatter used to display warnings/errors in console |
FAQs
Webpack plugin wrapper for stylelint allowing you to install any version of stylelint you want
We found that stylelint-bare-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.