@sweetalert2/stylelint-config

3.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @sweetalert2/stylelint-config

Weekly Downloads

150

Version

3.0.1

License

MIT

Unpacked Size

2.63 kB

Total Files

3

Last publish

Collaborators

  • limonte
  • toverux