@balancedbody/gatsby-plugin-stylelint

4.1.0 • Public • Published

New Maintainer needed

https://github.com/danbruegge/gatsby-plugin-stylelint/issues/20


gatsby-plugin-stylelint

Gatsby plugin to add support for stylelint-bare-webpack-plugin.

Note

You need your own stylelint setup. Please have a look at the stylelint website.

The intention of this plugin is to inject stylelint into webpack for gatsbyjs.

Install

yarn add --dev @danbruegge/gatsby-plugin-stylelint

Usage

// In your gatsby-config.js
plugins: ["@danbruegge/gatsby-plugin-stylelint"]

Configuration

If you need to pass options to stylelint use the plugins options, see stylelint-bare-webpack-plugin for all available options.

// In your gatsby-config.js
plugins: [
  {
    resolve: "@danbruegge/gatsby-plugin-stylelint",
    options: { files: ["**/*.{js,jsx}"] }
  }
]

Example

To see the plugin in action, look at my example project.

Package Sidebar

Install

npm i @balancedbody/gatsby-plugin-stylelint

Weekly Downloads

0

Version

4.1.0

License

MIT

Unpacked Size

3.31 kB

Total Files

5

Last publish

Collaborators

  • mtbauer