Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

uandi/stylelint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stylelint-config-uandi

This package provides u+i's base CSS/SCSS stylelint as an extensible shared config.

Install

Install via npm:

Install the correct versions of each package, which are listed by the command:

npm info "@uandi/stylelint-config@latest" peerDependencies

Linux/OSX users can run

(
    export PKG="@uandi/stylelint-config";
    npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)

Which produces and runs a command like:

npm install --save dev @uandi/stylelint-config stylelint@^#.#.# stylelint-declaration-block-no-ignored-properties@^#.#.# stylelint-scss@^#.#.#

Windows users can either install all the peer dependencies manually, or use the install-peerdeps cli tool.

npm install -g install-peerdeps
install-peerdeps --dev @uandi/stylelint-config

Usage

stylelint-config-uandi

Our configuration contains all of our StyleLint rules, including SCSS. It requires stylelint, stylelint-declaraion-block-no-ignored-properties and stylelint-scss.

Add "extends": "@uandi/stylelint-config" to your .stylelintrc

About

StyleLint configuration for u+i

Resources

Stars

Watchers

Forks

Packages

No packages published