stylelint-config-superology-scss

1.0.0 • Public • Published

stylelint-config-superology-scss

Shared Stylelint & Prettier config for SCSS based projects at Superology.

@superology/eslint-config-vue

Extends stylelint-config-recommended and stylelint-config-recommended-scss.

Turns on additional rules to enforce common conventions found in the specifications and in a handful of CSS styleguides, including: The Idiomatic CSS Principles, Google's CSS Style Guide, Airbnb's Styleguide, and @mdo's Code Guide.

It favours flexibility over strictness for things like multi-line lists and single-line rulesets.

To see the rules that this config uses, please read the config itself.

Usage

Install the configuration

npm install stylelint-config-superology-scss --save-dev

Also make sure you have peer dependencies installed:

npm install stylelint prettier --save-dev

Add to Stylelint configuration

{
  "extends": "stylelint-config-superology-scss"
}

Using .stylelintrc file

or

module.exports = {
  extends: "stylelint-config-superology-scss",
};

if using .stylelintrc.js file

Suggestions?

Create a discussion on GitHub or learn how to make a contribution.

Readme

Keywords

none

Package Sidebar

Install

npm i stylelint-config-superology-scss

Weekly Downloads

68

Version

1.0.0

License

MIT

Unpacked Size

29.4 kB

Total Files

11

Last publish

Collaborators

  • momology