@lego/stylelint-config-scss
TypeScript icon, indicating that this package has built-in type declarations

6.1.2 • Public • Published

@lego/stylelint-config-scss

Prerequisites

  • Don't use @lego/stylelint-config-scss as a globally installed module

Installation

  1. Install this config package:
$ npm install --save-dev @lego/stylelint-config-scss

Usage

Full Configurations

module.exports = {
  extends: '@lego/stylelint-config-scss',
  rules: {
    // your overrides or custom rules here
  },
};

or if you prefer the json formatted .stylelintrc file:

{
  "extends": "@lego/stylelint-config-scss",
  "rules": {
    // your overrides or custom rules here
  }
}

Limitations

Due to an issue with Stylelint, config extension cannot be called from a globally installed (npm install -g stylelint) stylelint.

Included Plugins

stylelint-scss

A collection of SCSS specific linting rules for stylelint

Package Sidebar

Install

npm i @lego/stylelint-config-scss

Weekly Downloads

2

Version

6.1.2

License

MIT

Unpacked Size

47.4 kB

Total Files

19

Last publish

Collaborators

  • mbogh
  • xshteff
  • vincentbriglia
  • giovannidegani