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)

                    Peer Dependencies (2)

                    Badge

                    To add a badge like this onejsDocs.io badgeto 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>