Skip to content

vaynejs/vayne-plugin-stylelint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vayne-plugin-stylelint

stylelint 插件

Installation

yarn add vayne-plugin-stylelint -D
npm i vayne-plugin-stylelint -D

Usage

在__.vaynerc.js__ 引入

module.exports = {
  plugins: [
    'vayne-plugin-stylelint' // 获取简写 stylelint
  ]
}

Config

在.vaynerc.js

module.exports = {
  // 配置见  https://stylelint.io/user-guide/node-api/#syntax
  styleLint: {

  }
}

include

  • stylelint-webpack-plugin