Skip to content

kswedberg/stylelint-config-kswedberg

Repository files navigation

Stylelint Config

Install

Run the following from the project's root:

npm install stylelint-config-kswedberg --save-dev

or:

yarn add stylelint-config-kswedberg --dev

Usage

Add the config of your choice to the extends array in the stylelint.config.mjs file.

CSS or Postcss:

export default {
  extends: ['stylelint-config-kswedberg'],
};

SCSS:

export default {
  extends: ['stylelint-config-kswedberg/scss'],
};

Vue:

export default {
  extends: ['stylelint-config-kswedberg/vue'],
};

SCSS and Vue:

export default {
  extends: ['stylelint-config-kswedberg/scss-vue'],
};

About

Opinionated stylelint config

Resources

License

Stars

Watchers

Forks

Packages

No packages published