一覧へ戻る
syvpelikaner/rollup-plugin-stylelint(新しいタブで開きます)
主要言語: JavaScript
Verify entry point and all imported files with stylelint
- star 数
- 4
- watcher 数
- 1
- fork 数
- 1
- issue 数
- 9
- 最終更新
- 2023/01/05
主要言語: JavaScript
Verify entry point and all imported files with stylelint
Verify entry point and all imported files with stylelint
npm install --save-dev rollup-plugin-stylelint stylelint
// rollup.config.js import stylelint from 'rollup-plugin-stylelint'; export default { entry: './main.ts', plugins: [ stylelint({ //stylelint config }) ] }
The plugin loads linter options from the .stylelintrc file by default. Passing options to the plugin directly overrides those options.
See more options here stylelint-config.
Type: boolean
Default: false
If true, will throw an error if any errors were found.
Type: boolean
Default: false
If true, will throw an error if any warnings were found.