New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

stylelint-config-kensho

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-config-kensho

Standard Kensho config to lint CSS/postcss files.

4.0.0
Source
npm
Version published
Weekly downloads
12
1100%
Maintainers
2
Weekly downloads
 
Created
Source

stylelint-config-kensho

Build Status

This Stylelint config extends the standard config with a few customizations to support our CSS infrastructure, which uses postcss and CSS modules for JS interoperability.

Usage

To use the config, install stylelint and this config as development dependencies:

$ npm i -D stylelint stylelint-config-kensho

Add a .stylelintrc.json which extends the config:

{
  "extends": "stylelint-config-kensho"
}

Add an npm script in package.json to run the linter on all CSS files:

{
  "scripts": {
    "lint:css": "stylelint 'src/**/*.css'"
  }
}

FAQs

Package last updated on 02 Feb 2017

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