0.1.2 ā¢ Published 6 years ago
rollup-plugin-stylelinter v0.1.2
rollup-plugin-stylelinter
š¤ A rollup plugin to lint your stylesheet using stylelint.
Installation
npm install stylelint rollup-plugin-stylelinter --save-dev
Usage
// rollup.config.js
import stylelint from 'rollup-plugin-stylelinter';
export default {
// ...
plugins: [
stylelint({
//stylelint options
})
]
}
Options
In addition to these options below, all stylelint's options are available.
include
Type: String|Array[String]
Default: '**/*.{css,less,sass,scss}'
formatter
Type: Object
Default: 'require('stylelint').formatters.string'
failOnError
Type: Boolean
Default: false