Socket
Socket
Sign inDemoInstall

@addepar/sass-lint-config

Package Overview
Dependencies
0
Maintainers
7
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @addepar/sass-lint-config

Addepar sass-lint configuration


Version published
Weekly downloads
29
Maintainers
7
Install size
4.22 kB
Created
Weekly downloads
 

Readme

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

Last updated on 13 Mar 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc