Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 848 Bytes

README.md

File metadata and controls

56 lines (40 loc) · 848 Bytes

@tinkoff/stylelint-config

Common Stylelint configuration

Usage

  1. Install from npm
npm i --save-dev @tinkoff/stylelint-config
  1. Create stylelint.config.js at project root
{
  "extends": ["@tinkoff/stylelint-config"]
}

More information about available at stylelint documentation

Available presets

  • prettier
{
    "extends": ["@tinkoff/stylelint-config/prettier"]
}
  • less - includes prettier config
{
  "extends": ["@tinkoff/stylelint-config/less"]
}
  • angular - includes prettier config
{
  "extends": ["@tinkoff/stylelint-config/angular"]
}
  • angular-less - combine angular and less configs
{
  "extends": ["@tinkoff/stylelint-config/angular-less"]
}