1.1.0 • Published 2 years ago

@dopustim/stylelint-config v1.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
2 years ago

@dopustim/stylelint-config

Configuration file for StyleLint

NPM

Features

  • Provide Errors and Warnings
  • 2 spaces for indentation (warning)
  • 90 symbols per line (warning)
  • Unix linebreaks (warning)

Usage

Install @dopustim/stylelint-config package via NPM:

npm install -D stylelint @dopustim/stylelint-config

Extend this config in your .stylelintrc.json:

{
    "extends": "@dopustim/stylelint-config"
}

Or use your package.json:

"stylelint": {
    "extends": "@dopustim/stylelint-config"
}

You can also reassign any rule for your needs:

{
    "extends": "@dopustim/stylelint-config",
    "rules": {
        "max-line-length": [ 100, { "severity": "warning" } ]
    }
}

About

Visit the StyleLint website to find out all rules and descriptions.