项目作者: ucudal-wp

项目描述 :
CSS style guide
高级语言: JavaScript
项目地址: git://github.com/ucudal-wp/ucudal-stylelint-config.git
创建时间: 2018-08-19T02:15:15Z
项目社区:https://github.com/ucudal-wp/ucudal-stylelint-config

开源协议:

下载


@ucudal/stylelint-config

This package provides UCUDAL’s base CSS .stylelintrc as an extensible shared
config.

Extends
stylelint-config-standard.

Usage

  1. Install the correct versions of each peer dependency, which are listed by the
    command:
  1. npm info "@ucudal/stylelint-config@latest" peerDependencies

Linux/OSX users can run:

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

Which produces and runs a command like:

  1. npm install --save-dev @ucudal/stylelint-config@latest stylelint@^x.y.z

Windows users can install the @ucudal/stylelint-config and all its peer
dependencies manually.

  1. Add "extends": "@ucudal/stylelint-config" to your .stylelintrc file.