@sweetalert2/stylelint-config

esm
stylelint shareable config for the SweetAlert2 SCSS coding style
INSTALL
Type:
Version:
- Static
- Latest Patch
- Latest Minor
- Latest Major
- 3.0.2
- 3.0.1
- 3.0.0
- 2.1.13
- 2.1.12
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.12
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.1.31
- 1.1.30
- 1.1.29
- 1.1.28
- 1.1.27
- 1.1.26
- 1.1.25
- 1.1.24
- 1.1.23
- 1.1.22
- 1.1.21
- 1.1.20
- 1.1.19
- 1.1.18
- 1.1.17
- 1.1.16
- 1.1.15
- 1.1.14
- 1.1.13
- 1.1.12
- 1.1.11
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.0.1
<script type="module"> import sweetalert2stylelintConfig from 'https://cdn.jsdelivr.net/npm/@sweetalert2/stylelint-config@3.0.2/+esm' </script>
stylelint shareable config for the SweetAlert2 SCSS coding style
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