Skip to content
Kepler Sticka-Jones

stylelint-config-starstuff

Status: active​​Role: creator, maintainer​​GitHub​​npm​​

Stylelint-config-starstuff is an opininated, but simple, shareable Stylelint config.

Philosophy

This config is built with the assumption that you’re going to be using Prettier across your project, and want stylelint to provide style specific advice and respect Prettier’s formatting. This config aims to share this in a simple, shareable config.

Installation

npm install --save-dev stylelint stylelint-config-starstuff

Usage

In your package.json

{
  "stylelint": {
    "extends": ["stylelint-config-starstuff"]
  }
}

CSS-in-JS (emotion, styled-components, etc.) varient

This config exports a varient specialized for projects using a CSS-in-JS library. To use it, set the following in your package.json:

{
  "stylelint": {
    "extends": ["stylelint-config-starstuff/css-in-js"]
  }
}

License

Copyright 2019-2020 Kepler Sticka-Jones. Licensed ISC.