4.1.0 • Published 5 years ago

@danbruegge/gatsby-plugin-stylelint v4.1.0

Weekly downloads
748
License
MIT
Repository
github
Last release
5 years ago

gatsby-plugin-stylelint

Gatsby v2 plugin to add support for stylelint-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-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.

4.1.0

5 years ago

4.0.0

6 years ago

3.4.1

6 years ago

3.4.0

6 years ago

3.3.2

6 years ago

3.3.1

6 years ago

3.3.0

6 years ago

3.2.0

6 years ago