Installation
npm install --save @types/gulp-lesshint
Summary
This package contains type definitions for gulp-lesshint (https://github.com/lesshint/gulp-lesshint).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-lesshint.
index.d.ts
/// <reference types="node" />
import { Transform } from "stream";
declare namespace gulpLesshint {
interface Options {
configPath?: string;
maxWarnings?: number;
}
interface LessHintFile {
lesshint: {
success: boolean;
resultCount: number;
results: {
column: number;
file: string;
fullPath: string;
line: number;
linter: string;
message: string;
severity: string;
};
};
[key: string]: any;
}
interface Plugin {
(options?: Options): {
on(event: "data", listener: (file: LessHintFile) => void): Transform;
} & Transform;
reporter(reporter?: string): Transform;
failOnError(): Transform;
failOnWarning(): Transform;
}
}
declare const lesshintPlugin: gulpLesshint.Plugin;
export = lesshintPlugin;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/node
Credits
These definitions were written by Martin Badin.