🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

stylelint-itcss

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-itcss

A stylelint plugin to help with itcss architecture

latest
Source
npmnpm
Version
0.4.0
Version published
Maintainers
1
Created
Source

stylelint-itcss

Greenkeeper badge Version on npm Build Status

Installation and usage

npm install --save-dev stylelint stylelint-itcss
//
yarn add --dev stylelint stylelint-itcss

Create the .stylelintrc.json config file (or open the existing one), add stylelint-itcss to the plugins array and the rules you need to the rules list. All rules from stylelint-itcss need to be namespaced with itcss.

Please refer to stylelint docs for the detailed info on using this linter.

Rules

⚠️ All rules are "strict" be default, but all rules accept an option ignoreLayers to disable them for specific layer(s) (there's a detailed explanation for each layers in this article).

Rule IDDescription
no-at-importantDisallow the use of !important
no-variable-declarationDisallow the declaration of variables
no-mixin-declarationDisallow the declaration of mixins (SASS only)

Keywords

stylelint

FAQs

Package last updated on 21 Feb 2020

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