🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@funboxteam/scss-lint-config

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@funboxteam/scss-lint-config

Config for Stylelint SCSS linting

latest
Source
npmnpm
Version
6.1.0
Version published
Maintainers
4
Created
Source

@funboxteam/scss-lint-config

npm

Stylelint rules that follow our style guide for SCSS.

По-русски

Installation

First, install Stylelint that meets the peerDependencies requirements:

npm install --save-dev stylelint

If using Stylelint v14 or higher, also install postcss-scss:

npm install --save-dev postcss-scss

Then install the config:

npm install --save-dev @funboxteam/scss-lint-config

Usage

Include into a project config and pass desired options:

stylelint "src/**/*.scss" --cache --config node_modules/@funboxteam/scss-lint-config/.stylelintrc

For Stylelint v13 --syntax scss option is required.

Also you can create your own config based on this one:

module.exports = {
  extends: '@funboxteam/scss-lint-config/.stylelintrc.json',
  rules: [
    // your rule settings here
  ]
};

Sponsored by FunBox

Keywords

stylelint

FAQs

Package last updated on 09 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts