@sweetalert2/stylelint-config

v1.1.5
stylelint shareable config for the SweetAlert2 SCSS coding style

stylelint shareable config for the SweetAlert2 SCSS coding style

Build Status npm version semantic-release

SCSS linting rules, this extends the basic stylelint rules for use with SweetAlert2's projects.


Installation

yarn add @sweetalert2/stylelint-config

.stylelintrc

{
  "extends": "@sweetalert2/stylelint-config",
  "rules": {
    // Additional, per-project rules...
  }
}

example package.json script

"scripts": {
  "lint:scss": "stylelint **/*.scss --cache",
}

which would allow you to lint your project via yarn lint:scss

npm i @sweetalert2/[email protected]

Metadata

  • MIT
  • Whatever
  • Limon Monte
  • released 7/11/2019

Downloads