7.1.0 • Published 1 month ago
@jgarber/stylelint-config-scss
Licence
MIT
Version
7.1.0
Deps
3
Size
9 kB
Vulns
0
Weekly
0
@jgarber/stylelint-config-scss
Shareable Stylelint configuration for SCSS syntax Sass files.
See @jgarber/stylelint-config for a shareable Stylelint configuration suitable for CSS files.
Installation
npm install --save-dev @jgarber/stylelint-config-scss
Usage
Stylelint supports a variety of configuration file formats.
YAML
In a file named .stylelintrc or .stylelintrc.yml:
---
extends: "@jgarber/stylelint-config-scss"
---
JSON
In a file named .stylelintrc or .stylelintrc.json:
{
"extends": "@jgarber/stylelint-config-scss"
}
JavaScript
In a JavaScript file using ECMAScript module (ESM) syntax:
// stylelint.config.mjs
export { default } from "@jgarber/stylelint-config.scss";
In a JavaScript file using CommonJS module syntax:
// stylelint.config.cjs
module.exports = {
extends: "@jgarber/stylelint-config-scss"
};
License
@jgarber/stylelint-config-scss is freely available under the MIT License.