stylelint-webpack-plugin
- Version 5.0.1
- Published
- 44 kB
- 5 dependencies
- MIT license
Install
npm i stylelint-webpack-plugin
yarn add stylelint-webpack-plugin
pnpm add stylelint-webpack-plugin
Overview
A Stylelint plugin for webpack
Index
Classes
class StylelintWebpackPlugin
class StylelintWebpackPlugin {}
constructor
constructor(options?: Partial<any>);
Parameter options
property key
key: string;
property options
options: Partial<PluginOptions>;
property prevTimestamps
prevTimestamps: Map<any, any>;
property startTime
startTime: number;
method apply
apply: (compiler: any) => void;
Parameter compiler
Returns
{void}
method getContext
getContext: (compiler: any) => string;
Parameter compiler
Returns
{string}
method run
run: ( compiler: any, options: Options, wanted: string[], exclude: string[]) => Promise<void>;
Parameter compiler
Parameter options
Parameter wanted
Parameter exclude
Type Aliases
type Compiler
type Compiler = import('webpack').Compiler;
type FileSystemInfoEntry
type FileSystemInfoEntry = Partial< | { timestamp: number; } | number>;
type Module
type Module = import('webpack').Module;
type Options
type Options = import('./options').Options;
Package Files (1)
Dependencies (5)
Dev Dependencies (34)
- @babel/cli
- @babel/core
- @babel/preset-env
- @commitlint/cli
- @commitlint/config-conventional
- @types/file-entry-cache
- @types/fs-extra
- @types/micromatch
- @types/node
- @types/normalize-path
- @types/webpack
- @webpack-contrib/eslint-config-webpack
- babel-eslint
- babel-jest
- chokidar
- cross-env
- cspell
- del
- del-cli
- eslint
- eslint-config-prettier
- eslint-plugin-import
- file-loader
- fs-extra
- husky
- jest
- lint-staged
- npm-run-all
- postcss-scss
- prettier
- standard-version
- stylelint
- typescript
- webpack
Peer Dependencies (2)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/stylelint-webpack-plugin
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/stylelint-webpack-plugin)
- HTML<a href="https://www.jsdocs.io/package/stylelint-webpack-plugin"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3410 ms. - Missing or incorrect documentation? Open an issue for this package.