@adorade/stylelint-config

3.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @adorade/stylelint-config

Weekly Downloads

7

Version

3.0.0

License

MIT

Unpacked Size

18.3 kB

Total Files

5

Last publish

Collaborators

  • adorade