@broxus/stylelint-config

1.6.0 • Public • Published

Recommended Stylelint configuration to create formatted code with best practices.

Installation

Install the package as development dependency, alongside stylelint package

npm i @broxus/stylelint-config stylelint -D

or

yarn add @broxus/stylelint-config stylelint -D

Usage

Create the .stylelintrc file in the root directory of your project and put code below to the file

{
    "extends": [
        ...
        "@broxus/stylelint-config",
        ...
    ],
    "rules": {
        // ...your own custom rules and overrides
    }
}

or add code below to the package.json

{
    ...
    "stylelint": {
        "extends": ["@broxus/stylelint-config"]
    },
    ...
}

Package Sidebar

Install

npm i @broxus/stylelint-config

Weekly Downloads

11

Version

1.6.0

License

MIT

Unpacked Size

17.4 kB

Total Files

5

Last publish

Collaborators

  • pavel337
  • odrin
  • 30mb1
  • geronimo
  • rexagon
  • pavlovdog_