Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@addepar/sass-lint-config

Package Overview
Dependencies
Maintainers
7
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@addepar/sass-lint-config

Addepar sass-lint configuration

latest
Source
npmnpm
Version
3.0.1
Version published
Weekly downloads
262
-46.31%
Maintainers
7
Weekly downloads
 
Created
Source

@addepar/sass-lint-config

List of available sass-lint rules

Setup

Add this dependency to devDependencies in your project

yarn add --dev @addepar/sass-lint-config

Then add a .sass-lint.yml file to the root of your project

options:
  config-file: ./node_modules/@addepar/sass-lint-config/config.yml
files:
  include: '[your-project-css-path]/**/*.s+(a|c)ss'

Run sass-lint in your project

./node_modules/sass-lint/bin/sass-lint.js -vq

Disabling rules

Disable for whole file

// sass-lint:disable no-ids

#root {
  ...
}

Disable rule for single line

color: pink; // sass-lint:disable-line no-color-literals

Disable rule for selector block

p {
  // sass-lint:disable-block no-color-literals
  color: pink;
}

FAQs

Package last updated on 13 Mar 2023

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