# @types/gulp-lesshint

> TypeScript definitions for gulp-lesshint

Latest version **6.1.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/gulp-lesshint
pnpm add @types/gulp-lesshint
yarn add @types/gulp-lesshint
bun add @types/gulp-lesshint
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 6.1.4 |
| Published | 2023-11-07 |
| First published | 2022-01-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51418 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/gulp-lesshint
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-lesshint
- npm.io page: https://npm.io/package/@types/gulp-lesshint

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 6.1.4 (latest) — 2023-11-07
- 6.1.1 (ts4.3) — 2023-05-10
- 6.1.0 (ts3.8) — 2022-01-12
- 6.1.3 — 2023-10-18
- 6.1.2 — 2023-09-20

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-lesshint/index.d.ts)
````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](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Martin Badin](https://github.com/martin-badin).

---
_Source: https://npm.io/package/@types/gulp-lesshint · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
