{"id":16925843,"url":"https://github.com/cascornelissen/stylelint-bare-webpack-plugin","last_synced_at":"2025-03-17T07:31:43.286Z","repository":{"id":10613046,"uuid":"64379754","full_name":"cascornelissen/stylelint-bare-webpack-plugin","owner":"cascornelissen","description":"Stylelint plugin for webpack","archived":false,"fork":false,"pushed_at":"2024-09-05T20:28:57.000Z","size":627,"stargazers_count":13,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T08:34:53.539Z","etag":null,"topics":["stylelint","webpack","webpack-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cascornelissen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-28T08:54:11.000Z","updated_at":"2024-09-05T20:28:53.000Z","dependencies_parsed_at":"2023-01-13T16:02:48.696Z","dependency_job_id":"6c006775-b5d4-45e6-b459-008cc42b704f","html_url":"https://github.com/cascornelissen/stylelint-bare-webpack-plugin","commit_stats":{"total_commits":60,"total_committers":4,"mean_commits":15.0,"dds":"0.44999999999999996","last_synced_commit":"b70360a9c1af52b949f46c8c947dd50cc7379a5c"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cascornelissen%2Fstylelint-bare-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cascornelissen%2Fstylelint-bare-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cascornelissen%2Fstylelint-bare-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cascornelissen%2Fstylelint-bare-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cascornelissen","download_url":"https://codeload.github.com/cascornelissen/stylelint-bare-webpack-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852428,"owners_count":20358267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["stylelint","webpack","webpack-plugin"],"created_at":"2024-10-13T20:11:44.992Z","updated_at":"2025-03-17T07:31:42.936Z","avatar_url":"https://github.com/cascornelissen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stylelint Bare Webpack Plugin\n[![npm](https://img.shields.io/npm/v/stylelint-bare-webpack-plugin.svg?style=flat-square)](https://www.npmjs.com/package/stylelint-bare-webpack-plugin)\n[![npm](https://img.shields.io/npm/dm/stylelint-bare-webpack-plugin.svg?style=flat-square)](https://www.npmjs.com/package/stylelint-bare-webpack-plugin)\n[![license](https://img.shields.io/github/license/cascornelissen/stylelint-bare-webpack-plugin.svg?style=flat-square)](LICENSE.md)\n\nThis [webpack](https://webpack.github.io/) plugin allows you to lint your CSS/SASS/SCSS/LESS etc. files through any version of [Stylelint](http://stylelint.io/). It is heavily inspired by [`stylelint-webpack-plugin`](https://www.npmjs.com/package/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.\n\n**Compatibility**  \nVersion `^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.\n\n## Installation\n```shell\nnpm install stylelint-bare-webpack-plugin stylelint --save-dev\n```\n\n## Usage\n```js\n// webpack.config.js\nconst StylelintBarePlugin = require('stylelint-bare-webpack-plugin');\n\nmodule.exports = {\n    // ...\n    plugins: [\n        new StylelintBarePlugin({\n            // Optional options object\n        })\n    ]\n}\n```\n\n## Options\nYou 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](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#options) as well.\n\n| Option        | Default                          | Description                                                                                                                                                          \n| ------------- | -------------------------------- | ------------\n| `files`       | `'**/*.s?(c\\|a)ss'`              | [`glob`](http://npmjs.com/package/glob) used for finding the files that will be linted                                                                               \n| `emitErrors`  | `true`                           | Whether to emit webpack errors or only warnings, note that all stylelint errors will still be shown when disabling this\n| `failOnError` | `false`                          | Whether to stop the entire Webpack process when a stylelint error is found\n| `formatter`   | `stringFormatter` from Stylelint | [Formatter](http://stylelint.io/developer-guide/formatters/) used to display warnings/errors in console                                                              \n\n## License\nThis project is [licensed](LICENSE.md) under the [MIT](https://opensource.org/licenses/MIT) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcascornelissen%2Fstylelint-bare-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcascornelissen%2Fstylelint-bare-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcascornelissen%2Fstylelint-bare-webpack-plugin/lists"}