@lympid/stylelint-config-lympid

1.0.1 • Public • Published

stylelint-config-lympid

Lympid stylelint config.

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

Installation

npm install "stylelint^13.10.0" @lympid/stylelint-config-lympid --save-dev

Usage

Create an .stylelintrc file with the following:

{
  "extends": ["@lympid/stylelint-config-lympid"]
}

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": "@lympid/stylelint-config-lympid",
  "rules": {
    "your-rules-here"
  }
}

Package Sidebar

Install

npm i @lympid/stylelint-config-lympid

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

11.3 kB

Total Files

7

Last publish

Collaborators

  • wildlifechorus
  • tpereiralympid