stylelint-config-ray

3.0.6 • Public • Published

stylelint-config-ray

description

💎 author

  ilex.h

💿 Installation

$ npm install -g stylelint-config-ray

$ npm install --save-dev stylelint-config-ray

📖 Usage

  • .stylelintrc.json
  • 🔧 simple use
{
  "extends": "stylelint-config-ray"
}
  • 🔧 with custom ruls
{
  "extends": "stylelint-config-ray",
  "rules": {

  }
}
  • .stylelintrc.js
  • 🔧 simple use
module.exports = require('stylelint-config-ray');
// or
module.exports = {
  extends: 'stylelint-config-ray'
}
  • 🔧 with custom ruls
module.exports = {
  extends: 'stylelint-config-ray',
  plugins: [
    'stylelint-order',
    'stylelint-scss'
  ],
  rules: {
    // ... others
  }
}

License

MIT

注意,3.0.1 之后的版本,默认加入 customSyntax: 'postcss-scss' 需要自行安装 postcss-scss 模块。

Readme

Keywords

Package Sidebar

Install

npm i stylelint-config-ray

Weekly Downloads

2

Version

3.0.6

License

MIT

Unpacked Size

9.05 kB

Total Files

8

Last publish

Collaborators

  • ilex.h