3.0.0 • Published 9 months ago

@adorade/stylelint-config v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Adorade Stylelint Config

NPM version GitHub package.json version license Depfu Status Renovate enabled GitHub Workflow Status

An opinionated Stylelint config used by Adorade across our projects.

Installation

npm install @adorade/stylelint-config --save-dev
# Or with yarn:
yarn add @adorade/stylelint-config --dev

Usage

We provide a single config that covers both CSS and SCSS. It will automatically apply SCSS rules to files ending in .scss.

You simply have to extend this config in your stylelint.config.js:

/** @type {import('stylelint').Config} */
export default {
  extends: [ '@adorade/stylelint-config' ]
  rules: { 
    // stylelint rules
    // stylelistic rules
  },
  overrides: [
    {
      files: "**/*.scss",
      rules: { 
        // scss plugin rules
      }
    }
  ]
}

Documentation

This config extends the shared config:

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

License

Released under the MIT License.

3.0.0

9 months ago

2.0.1

1 year ago

2.0.0

1 year ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago