stylelint-config-seegno

0.5.0 • Public • Published

stylelint-config-seegno

Seegno-flavored stylelint config. This configuration was created for react environment using styled-components, however it can be applied in other contexts.

Installation

$ npm install stylelint stylelint-config-seegno --save-dev

Usage

Create an .stylelintrc file with the following:

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

Add the following script to your package.json:

{
  "scripts": {
    "lint-styles": "stylelint './src/**/*.js'",
  }
}

and run the linter with:

$ npm run lint-styles

Extending the config

Simply add a "rules" key to your config, then add your overrides and additions there.

{
  "extends": "stylelint-config-seegno",
  "rules": {
    "your-rules-here"
  }
}

Package Sidebar

Install

npm i stylelint-config-seegno

Weekly Downloads

10

Version

0.5.0

License

MIT

Unpacked Size

31.7 kB

Total Files

12

Last publish

Collaborators

  • bsonntag
  • seegno