npm.io
4.0.6 • Published 2 years ago

@types/gulp-stylint

Licence
MIT
Version
4.0.6
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/gulp-stylint

Summary

This package contains type definitions for gulp-stylint (https://github.com/danielhusar/gulp-stylint).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-stylint.

index.d.ts

/// <reference types="node" />

interface GulpStylint {
    (options?: GulpStylint.Options): NodeJS.ReadWriteStream;
    reporter(options?: GulpStylint): NodeJS.ReadWriteStream;
    reporter(identifier: "fail", options?: { failOnWarning: true }): NodeJS.ReadWriteStream;
}

declare namespace GulpStylint {
    interface Options {
        config?: string | undefined;
        rules?: { [ruleName: string]: any } | undefined;
        reporter?: any;
    }

    interface ReporterOptions {
        logger?(): void;
    }

    interface FailReporterOptions {
        failOnWarning: true;
    }
}

declare var gulpStylint: GulpStylint;
export = gulpStylint;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: @types/node

Credits

These definitions were written by .