/stylelint-config-one

πŸ› All-in-one stylelint config

Primary LanguageJavaScriptMIT LicenseMIT

stylelint-config-one
πŸ›

All-in-one stylelint config.

npm npm GitHub


Install

pnpm add stylelint-config-one
# or
yarn add stylelint-config-one
# or
npm install stylelint-config-one

Usage

You can choose one to extend in your .stylelintrc, based on your project style solution:

CSS

{
  "extends": "stylelint-config-one"
}

or

{
  "extends": "stylelint-config-one/css"
}

SCSS

{
  "extends": "stylelint-config-one/scss"
}

CSS with CSS Modules

{
  "extends": "stylelint-config-one/css-modules"
}

SCSS with CSS Modules

{
  "extends": "stylelint-config-one/scss-modules"
}